llvm-6502/unittests/ADT
Alp Toker bad91954cf StringRef: Extend constexpr capabilities and introduce ConstStringRef
(1) Add llvm_expect(), an asserting macro that can be evaluated as a constexpr
    expression as well as a runtime assert or compiler hint in release builds. This
    technique can be used to construct functions that are both unevaluated and
    compiled depending on usage.

(2) Update StringRef using llvm_expect() to preserve runtime assertions while
    extending the same checks to static asserts in C++11 builds that support the
    feature.

(3) Introduce ConstStringRef, a strong subclass of StringRef that references
    compile-time constant strings. It's convertible to, but not from, ordinary
    StringRef and thus can be used to add compile-time safety to various interfaces
    in LLVM and clang that only accept fixed inputs such as diagnostic format
    strings that tend to get misused.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@200187 91177308-0d34-0410-b5e6-96231b3b80d8
2014-01-27 04:07:17 +00:00
..
APFloatTest.cpp Change default # of digits for APFloat::toString 2013-08-29 23:44:34 +00:00
APIntTest.cpp [APInt] Fix nearestLogBase2 to return correct answers for very large APInt and APInt with a bitwidth of 1. 2014-01-19 20:33:48 +00:00
BitVectorTest.cpp Fix a buffer overrun detected by AddressSanitizer. 2013-12-19 02:35:26 +00:00
CMakeLists.txt Add a polymorphic_ptr<T> smart pointer data type. It's a somewhat silly 2013-11-09 04:06:02 +00:00
DAGDeltaAlgorithmTest.cpp
DeltaAlgorithmTest.cpp
DenseMapTest.cpp
DenseSetTest.cpp
FoldingSet.cpp
HashingTest.cpp
ilistTest.cpp
ImmutableMapTest.cpp
ImmutableSetTest.cpp
IntEqClassesTest.cpp
IntervalMapTest.cpp
IntrusiveRefCntPtrTest.cpp [weak vtables] Place class definitions into anonymous namespaces to prevent weak vtables. 2013-11-19 03:08:35 +00:00
Makefile
MapVectorTest.cpp
OptionalTest.cpp
PackedVectorTest.cpp Revert "[PowerPC] Improve consistency in use of __ppc__, __powerpc__, etc." 2013-07-26 22:13:57 +00:00
PointerUnionTest.cpp Basic unit tests for PointerUnion 2013-08-21 21:30:23 +00:00
polymorphic_ptr_test.cpp Fix a null pointer dereference when copying a null polymorphic pointer. 2013-11-13 02:48:20 +00:00
SCCIteratorTest.cpp
SmallPtrSetTest.cpp Make the moved-from SmallPtrSet be a valid, empty, small-state object. 2013-11-20 18:29:56 +00:00
SmallStringTest.cpp
SmallVectorTest.cpp
SparseBitVectorTest.cpp
SparseMultiSetTest.cpp
SparseSetTest.cpp
StringMapTest.cpp Fix break introduced in r198377 due to using a local type as a template parameter. 2014-01-03 00:00:41 +00:00
StringRefTest.cpp StringRef: Extend constexpr capabilities and introduce ConstStringRef 2014-01-27 04:07:17 +00:00
TinyPtrVectorTest.cpp
TripleTest.cpp Darwin: update default iOS version to 5.0 2013-12-10 11:53:16 +00:00
TwineTest.cpp
VariadicFunctionTest.cpp