llvm-6502/include/llvm/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
..
APFloat.h [APFloat] Removed nextafter from missing operations since it is implemented in APFloat::next. 2013-07-27 21:49:19 +00:00
APInt.h [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
APSInt.h Annotate APInt methods where it's not clear whether they are in place with warn_unused_result. 2013-11-16 16:25:41 +00:00
ArrayRef.h ADT: Implement MutableArrayRef::reverse_iterator 2013-12-09 09:04:00 +00:00
BitVector.h Fix a buffer overrun detected by AddressSanitizer. 2013-12-19 02:35:26 +00:00
DAGDeltaAlgorithm.h
DeltaAlgorithm.h
DenseMap.h Rehash but don't grow when full of tombstones. 2013-10-30 15:10:54 +00:00
DenseMapInfo.h
DenseSet.h Add missing definitions of key_type and value_type to DenseSet. 2014-01-08 21:38:04 +00:00
DepthFirstIterator.h
edit_distance.h
EquivalenceClasses.h
FoldingSet.h Add operator!= for FoldingSetNodeID and FoldingSetNodeIDRef. Implementation in 2014-01-21 01:29:37 +00:00
GraphTraits.h
Hashing.h
ilist_node.h
ilist.h Add warn_unused_result to empty() on various containers. 2013-09-13 17:33:24 +00:00
ImmutableIntervalMap.h
ImmutableList.h
ImmutableMap.h Add difference_type to ImmutableMap/Set iterators so they have a complete set of typedefs. 2013-08-16 21:55:56 +00:00
ImmutableSet.h Add ImmutableSet profiling info for 'bool'. 2013-11-08 17:23:49 +00:00
IndexedMap.h
IntEqClasses.h
IntervalMap.h Fix -Wdocumentation warnings. 2013-07-28 23:43:28 +00:00
IntrusiveRefCntPtr.h
MapVector.h Fix c++ mode comments 2014-01-06 19:52:42 +00:00
None.h
Optional.h Re-sort all of the includes with ./utils/sort_includes.py so that 2014-01-07 11:48:04 +00:00
OwningPtr.h
PackedVector.h
PointerIntPair.h Explicitly request unsigned enum types when desired 2013-09-23 23:26:57 +00:00
PointerUnion.h Re-sort all of the includes with ./utils/sort_includes.py so that 2014-01-07 11:48:04 +00:00
polymorphic_ptr.h Fix a null pointer dereference when copying a null polymorphic pointer. 2013-11-13 02:48:20 +00:00
PostOrderIterator.h
PriorityQueue.h
SCCIterator.h [PM] [cleanup] Replace a reserved identifier "_Self" with the injected 2013-11-26 22:36:41 +00:00
ScopedHashTable.h
SetOperations.h
SetVector.h Make sure that pop_back_val() result is used. 2013-08-19 22:12:00 +00:00
SmallBitVector.h Sync SmallBitVector with BitVector. Add unit tests for the missing methods. 2013-07-11 21:59:16 +00:00
SmallPtrSet.h The count() function for STL datatypes returns unsigned, even 2013-12-22 12:04:23 +00:00
SmallSet.h The count() function for STL datatypes returns unsigned, even 2013-12-22 12:04:23 +00:00
SmallString.h
SmallVector.h Add warn_unused_result to empty() on various containers. 2013-09-13 17:33:24 +00:00
SparseBitVector.h Correct word hyphenations 2013-12-05 05:44:44 +00:00
SparseMultiSet.h
SparseSet.h The count() function for STL datatypes returns unsigned, even 2013-12-22 12:04:23 +00:00
Statistic.h
STLExtras.h Provide basic type safety for array_pod_sort comparators. 2013-09-22 14:09:50 +00:00
StringExtras.h Re-sort all of the includes with ./utils/sort_includes.py so that 2014-01-07 11:48:04 +00:00
StringMap.h Remove StringMapEntryInitializer support. 2014-01-02 23:28:39 +00:00
StringRef.h StringRef: Extend constexpr capabilities and introduce ConstStringRef 2014-01-27 04:07:17 +00:00
StringSet.h
StringSwitch.h
TinyPtrVector.h
Triple.h [x86] Support i386-*-*-code16 triple for emitting 16-bit code 2014-01-20 12:02:25 +00:00
Twine.h
UniqueVector.h
ValueMap.h
VariadicFunction.h