Clement Courbet
|
262e25ddf8
Add a value_type to ArrayRef.
|
7 سال پیش |
Vedant Kumar
|
b527f09766
Avoid a UB pointer overflow in the ArrayRef unit test
|
8 سال پیش |
Zachary Turner
|
370e6fdfc6
Add some searching functions for ArrayRef<T>.
|
8 سال پیش |
Jordan Rose
|
8f3f50aeef
Re-apply "Disallow ArrayRef assignment from temporaries."
|
8 سال پیش |
Zachary Turner
|
b260e3ad99
Revert "Disallow ArrayRef assignment from temporaries."
|
8 سال پیش |
Jordan Rose
|
31b90a7187
Disallow ArrayRef assignment from temporaries.
|
8 سال پیش |
Zachary Turner
|
e046d5ce18
Fix unit test after function name change.
|
9 سال پیش |
Zachary Turner
|
bb0403b31b
Add StringRef::take_front and StringRef::take_back
|
9 سال پیش |
David Blaikie
|
dffc922b38
Fix ArrayRef initializer_list Ctor Test
|
9 سال پیش |
Ahmed Bougacha
|
408a761951
[ADT] Pass ArrayRef::slice size_t instead of unsigned.
|
9 سال پیش |
Reid Kleckner
|
680266ef56
[ADT] Add drop_front method to ArrayRef
|
9 سال پیش |
Mehdi Amini
|
4806ac4a7e
Add makeArrayRef() overload for ArrayRef input (no-op/identity) NFC
|
10 سال پیش |
Benjamin Kramer
|
e0fdface49
[ArrayRefTest] Work around a GCC 4.8 internal compiler error.
|
10 سال پیش |
NAKAMURA Takumi
|
bf1c3155a4
unittests/ADT/ArrayRefTest.cpp: Suppress r243995 on g++-4.8 for now to unbreak bots.
|
10 سال پیش |
Benjamin Kramer
|
0d2030d07e
[ArrayRef] Make copy use std::uninitialized_copy.
|
10 سال پیش |
Aaron Ballman
|
ff7ef6c5c9
Removing spurious semi colons; NFC.
|
10 سال پیش |
Benjamin Kramer
|
c255d35a10
ArrayRef: Remove the equals helper with many arguments.
|
10 سال پیش |
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 سال پیش |
Aaron Ballman
|
4e29d0712c
Adding additional tests to ensure that initializer lists created from return values and as function arguments also work as expected.
|
10 سال پیش |
Aaron Ballman
|
fc25a7429b
Addressing a post-commit review comment suggesting to avoid using direct initialization.
|
10 سال پیش |
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 سال پیش |
Chandler Carruth
|
4b77e07165
Revert r225053: Add an ArrayRef upcasting constructor from ArrayRef<U*> -> ArrayRef<T*> where T is a base of U.
|
10 سال پیش |
Michael Gottesman
|
735f1df049
Add an ArrayRef upcasting constructor from ArrayRef<U*> -> ArrayRef<T*> where T is a base of U.
|
10 سال پیش |
David Blaikie
|
07f352637c
Add some negative (and positive) static_assert checks for ArrayRef-of-pointer conversions introduced in r216709
|
11 سال پیش |
Craig Topper
|
8316713a9e
Add a test for converting ArrayRef<T *> to ArrayRef<const T *>.
|
11 سال پیش |
Duncan P. N. Exon Smith
|
7d84c8ec54
ADT: Unit test for ArrayRef::equals change in r215986
|
11 سال پیش |
Chandler Carruth
|
8e704b16f1
[ADT] Add a remarkbly useful little helper routine to ArrayRef for
|
11 سال پیش |
David Majnemer
|
38dbb0292d
ADT: Add a drop_back() helper to ArrayRef
|
11 سال پیش |
Nick Kledzik
|
8147752976
Fix layering StringRef copy using BumpPtrAllocator.
|
11 سال پیش |