Commit History

Author SHA1 Message Date
  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
  Craig Topper 8316713a9e Add a test for converting ArrayRef<T *> to ArrayRef<const T *>. 11 years ago
  Duncan P. N. Exon Smith 7d84c8ec54 ADT: Unit test for ArrayRef::equals change in r215986 11 years ago
  Chandler Carruth 8e704b16f1 [ADT] Add a remarkbly useful little helper routine to ArrayRef for 11 years ago
  David Majnemer 38dbb0292d ADT: Add a drop_back() helper to ArrayRef 11 years ago
  Nick Kledzik 8147752976 Fix layering StringRef copy using BumpPtrAllocator. 11 years ago