Commit History

Author SHA1 Message Date
  Serge Guelton cb39a85070 Replace llvm::isPodLike<...> by llvm::is_trivially_copyable<...> 6 years ago
  Chandler Carruth 6b547686c5 Update the file headers across all of the LLVM projects in the monorepo 6 years ago
  Pavel Labath 3d172cd8f9 Revert "ADT: Move ArrayRef comparison operators into the class" 7 years ago
  Pavel Labath d5b753a85d ADT: Move ArrayRef comparison operators into the class 7 years ago
  Richard Smith b13ea4ef63 Fix incorrect usage of std::is_assignable. 7 years ago
  Clement Courbet f0244a364a Revert "Add a value_type to ArrayRef." 7 years ago
  Clement Courbet 262e25ddf8 Add a value_type to ArrayRef. 7 years ago
  Vedant Kumar b527f09766 Avoid a UB pointer overflow in the ArrayRef unit test 8 years ago
  Zachary Turner 370e6fdfc6 Add some searching functions for ArrayRef<T>. 8 years ago
  Jordan Rose 8f3f50aeef Re-apply "Disallow ArrayRef assignment from temporaries." 8 years ago
  Zachary Turner b260e3ad99 Revert "Disallow ArrayRef assignment from temporaries." 8 years ago
  Jordan Rose 31b90a7187 Disallow ArrayRef assignment from temporaries. 8 years ago
  Zachary Turner e046d5ce18 Fix unit test after function name change. 9 years ago
  Zachary Turner bb0403b31b Add StringRef::take_front and StringRef::take_back 9 years ago
  David Blaikie dffc922b38 Fix ArrayRef initializer_list Ctor Test 9 years ago
  Ahmed Bougacha 408a761951 [ADT] Pass ArrayRef::slice size_t instead of unsigned. 9 years ago
  Reid Kleckner 680266ef56 [ADT] Add drop_front method to ArrayRef 9 years ago
  Mehdi Amini 4806ac4a7e Add makeArrayRef() overload for ArrayRef input (no-op/identity) NFC 10 years ago
  Benjamin Kramer e0fdface49 [ArrayRefTest] Work around a GCC 4.8 internal compiler error. 10 years ago
  NAKAMURA Takumi bf1c3155a4 unittests/ADT/ArrayRefTest.cpp: Suppress r243995 on g++-4.8 for now to unbreak bots. 10 years ago
  Benjamin Kramer 0d2030d07e [ArrayRef] Make copy use std::uninitialized_copy. 10 years ago
  Aaron Ballman ff7ef6c5c9 Removing spurious semi colons; NFC. 10 years ago
  Benjamin Kramer c255d35a10 ArrayRef: Remove the equals helper with many arguments. 10 years ago
  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 years ago
  Aaron Ballman 4e29d0712c Adding additional tests to ensure that initializer lists created from return values and as function arguments also work as expected. 10 years ago
  Aaron Ballman fc25a7429b Addressing a post-commit review comment suggesting to avoid using direct initialization. 10 years ago
  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 years ago
  Chandler Carruth 4b77e07165 Revert r225053: Add an ArrayRef upcasting constructor from ArrayRef<U*> -> ArrayRef<T*> where T is a base of U. 10 years ago
  Michael Gottesman 735f1df049 Add an ArrayRef upcasting constructor from ArrayRef<U*> -> ArrayRef<T*> where T is a base of U. 10 years ago
  David Blaikie 07f352637c Add some negative (and positive) static_assert checks for ArrayRef-of-pointer conversions introduced in r216709 11 years ago