Serge Guelton
|
cb39a85070
Replace llvm::isPodLike<...> by llvm::is_trivially_copyable<...>
|
6 سال پیش |
Chandler Carruth
|
6b547686c5
Update the file headers across all of the LLVM projects in the monorepo
|
6 سال پیش |
Pavel Labath
|
3d172cd8f9
Revert "ADT: Move ArrayRef comparison operators into the class"
|
7 سال پیش |
Pavel Labath
|
d5b753a85d
ADT: Move ArrayRef comparison operators into the class
|
7 سال پیش |
Richard Smith
|
b13ea4ef63
Fix incorrect usage of std::is_assignable.
|
7 سال پیش |
Clement Courbet
|
f0244a364a
Revert "Add a value_type to ArrayRef."
|
7 سال پیش |
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 سال پیش |