Benjamin Kramer
|
c255d35a10
ArrayRef: Remove the equals helper with many arguments.
|
10 jaren geleden |
Aaron Ballman
|
c4326a1ae4
Correcting the ArrayRef test to not cause use-after-free bugs with initializer lists. Should also silence a -Wsign-compare warning accidentally introduced.
|
10 jaren geleden |
Aaron Ballman
|
4e29d0712c
Adding additional tests to ensure that initializer lists created from return values and as function arguments also work as expected.
|
10 jaren geleden |
Aaron Ballman
|
fc25a7429b
Addressing a post-commit review comment suggesting to avoid using direct initialization.
|
10 jaren geleden |
Aaron Ballman
|
8b0b0a8524
I believe we no longer require LLVM_HAS_INITIALIZER_LISTS; it's supported in MSVC 2013 and GCC. Added a trivial test to ensure the ArrayRef initializer list constructor is called and behaves as expected.
|
10 jaren geleden |
Chandler Carruth
|
4b77e07165
Revert r225053: Add an ArrayRef upcasting constructor from ArrayRef<U*> -> ArrayRef<T*> where T is a base of U.
|
10 jaren geleden |
Michael Gottesman
|
735f1df049
Add an ArrayRef upcasting constructor from ArrayRef<U*> -> ArrayRef<T*> where T is a base of U.
|
10 jaren geleden |
David Blaikie
|
07f352637c
Add some negative (and positive) static_assert checks for ArrayRef-of-pointer conversions introduced in r216709
|
11 jaren geleden |
Craig Topper
|
8316713a9e
Add a test for converting ArrayRef<T *> to ArrayRef<const T *>.
|
11 jaren geleden |
Duncan P. N. Exon Smith
|
7d84c8ec54
ADT: Unit test for ArrayRef::equals change in r215986
|
11 jaren geleden |
Chandler Carruth
|
8e704b16f1
[ADT] Add a remarkbly useful little helper routine to ArrayRef for
|
11 jaren geleden |
David Majnemer
|
38dbb0292d
ADT: Add a drop_back() helper to ArrayRef
|
11 jaren geleden |
Nick Kledzik
|
8147752976
Fix layering StringRef copy using BumpPtrAllocator.
|
11 jaren geleden |