llvm-6502/include/llvm/ADT
Chris Lattner 7e763ebd98 Use the RHS length instead of the LHS length. They are both the same,
but this ends up compiling code like this:

int foo(const StringRef &R) {
  return R == "food";
}

to use a constant sized memcmp instead of a variable memcmp.



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77160 91177308-0d34-0410-b5e6-96231b3b80d8
2009-07-26 17:46:03 +00:00
..
APFloat.h Dcoument that the opauque value used to construct QNaNs is truncated 2009-06-01 21:02:35 +00:00
APInt.h Reapply 74494, this time removing the conflicting definition of operator<< 2009-06-30 20:10:56 +00:00
APSInt.h Fix bug where APSInt::operator-- incremented instead of decremented. 2009-02-16 22:39:08 +00:00
BitVector.h Use CHAR_BIT instead of hard-coding 8 in several places where it 2009-04-01 18:45:54 +00:00
DenseMap.h Add freed memory poisoning in !NDEBUG mode for DenseMap. 2009-07-21 18:01:37 +00:00
DenseSet.h Add range insert method for DenseSet and define DenseMapInfo for chars. 2009-04-01 19:50:49 +00:00
DepthFirstIterator.h enhance DepthFirstIterator to support more robust operations in the face 2009-07-23 06:30:28 +00:00
EquivalenceClasses.h For PR1338: rename include/llvm/ADT/ilist and friends to end with ".h" 2008-05-29 17:41:17 +00:00
FoldingSet.h Add an optional optimization to FoldingSet to allow ID values to be 2009-07-13 18:25:44 +00:00
GraphTraits.h Fixed lint errors: 2009-02-20 22:20:18 +00:00
HashExtras.h Fixed spelling. 2009-04-01 21:33:08 +00:00
ilist_node.h Revert r67844. This fixes the llvm-gcc-4.2 build on Darwin. 2009-03-27 18:37:13 +00:00
ilist.h fix build on VC++2k8. 2009-06-02 20:32:59 +00:00
ImmutableList.h Removed trailing whitespace. 2009-01-09 19:25:42 +00:00
ImmutableMap.h Correctly implement ImmutableMap::getMaxElement() by getting the actual <key, value> pair. 2009-02-23 17:28:16 +00:00
ImmutableSet.h Remove redundant qualifiers. 2009-07-19 01:42:34 +00:00
IndexedMap.h Fixed lint errors: 2009-02-20 22:20:18 +00:00
IntrusiveRefCntPtr.h Fixed lint errors: 2009-02-20 22:20:18 +00:00
iterator.cmake Initial support for the CMake build system. 2008-09-22 01:08:49 +00:00
iterator.h.in Removed trailing whitespace. 2009-01-09 19:25:42 +00:00
OwningPtr.h Fixed lint errors: 2009-02-20 22:20:18 +00:00
PointerIntPair.h I cast, therefore I think I know what I'm doing. 2009-04-26 20:12:38 +00:00
PointerUnion.h Fix three MSVC 2008 warnings that completely clutter the build output. 2009-06-29 17:12:06 +00:00
PostOrderIterator.h fix a bug in post-order iterators with external storage, patch by 2009-07-07 18:43:48 +00:00
PriorityQueue.h Removed trailing whitespace. 2009-01-09 19:25:42 +00:00
SCCIterator.h Fixed lint errors: 2009-02-20 22:20:18 +00:00
ScopedHashTable.h Removed trailing whitespace. 2009-01-09 19:25:42 +00:00
SetOperations.h
SetVector.h Fixed lint errors: 2009-02-20 22:20:18 +00:00
SmallPtrSet.h Make SmallPtrSet iterators real iterators 2009-07-08 23:53:54 +00:00
SmallSet.h Restore minor deletion. 2009-05-04 18:40:41 +00:00
SmallString.h Fix a fixme, patch by Ryan Flynn! 2009-07-15 00:36:04 +00:00
SmallVector.h Tighten up the asserts in SmallVector::operator[](). 2009-05-21 19:48:58 +00:00
SparseBitVector.h Add a missing ilist_node.h #include to SparseBitVector, and add a very short 2009-07-25 00:33:57 +00:00
Statistic.h Fix the build on Cygwin. Patch by Aaron Gray. 2009-06-30 05:33:46 +00:00
STLExtras.h Fixed lint errors: 2009-02-20 22:20:18 +00:00
StringExtras.h Add version of StringsEqualNoCase that takes two null-terminated C-strings and compares up to 'len' characters. I tend to screw up string comparison functions, so anyone who is interested please review this\! 2009-02-21 18:25:30 +00:00
StringMap.h Convert StringMap to using StringRef for its APIs. 2009-07-23 18:17:34 +00:00
StringRef.h Use the RHS length instead of the LHS length. They are both the same, 2009-07-26 17:46:03 +00:00
StringSet.h Remove extra blank line and space. 2009-01-08 06:11:51 +00:00
Trie.h Update for DOTGraphTraits changes. 2009-06-24 20:41:17 +00:00
Triple.h Oops, forgot XCore. Sorry XCore! 2009-07-26 04:52:45 +00:00
Twine.h Fix constructor types 2009-07-24 07:12:20 +00:00
UniqueVector.h Removed trailing whitespace. 2009-01-09 19:25:42 +00:00
VectorExtras.h