llvm-6502/include/llvm/ADT
Ted Kremenek cadf873c83 Added additional overloaded operators for APSInt to match the operators of
APInt.

While some operators were already specifically overloaded for APSInt, others
resulted in using the overloaded operator methods in APInt, which would result
in the signedness bit being lost.

Modified the APSInt(APInt&) constructor to be "explicit" and to take an
extra (optional) flag to indicate the signedness.  Making the ctor explicit
will catch any implicit conversations between APSInt -> APInt -> APSInt that
results in the signedness flag being lost.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@46316 91177308-0d34-0410-b5e6-96231b3b80d8
2008-01-24 18:59:52 +00:00
..
APFloat.h Don't attribute in file headers anymore. See llvmdev for the 2007-12-29 19:59:42 +00:00
APInt.h Changed argument name for 'Profile' method to potentially fix a name conflict 2008-01-19 17:21:43 +00:00
APSInt.h Added additional overloaded operators for APSInt to match the operators of 2008-01-24 18:59:52 +00:00
BitVector.h Don't attribute in file headers anymore. See llvmdev for the 2007-12-29 19:59:42 +00:00
DenseMap.h Don't attribute in file headers anymore. See llvmdev for the 2007-12-29 19:59:42 +00:00
DenseSet.h Don't attribute in file headers anymore. See llvmdev for the 2007-12-29 19:59:42 +00:00
DepthFirstIterator.h Don't attribute in file headers anymore. See llvmdev for the 2007-12-29 19:59:42 +00:00
EquivalenceClasses.h Don't attribute in file headers anymore. See llvmdev for the 2007-12-29 19:59:42 +00:00
FoldingSet.h Added "clear" method to FoldingSetNodeID to allow a FoldingSetNodeID object 2008-01-21 22:49:22 +00:00
GraphTraits.h Don't attribute in file headers anymore. See llvmdev for the 2007-12-29 19:59:42 +00:00
hash_map.in remove attribution from a variety of miscellaneous files. 2007-12-29 22:59:10 +00:00
hash_set.in remove attribution from a variety of miscellaneous files. 2007-12-29 22:59:10 +00:00
HashExtras.h Don't attribute in file headers anymore. See llvmdev for the 2007-12-29 19:59:42 +00:00
ilist remove attribution from a variety of miscellaneous files. 2007-12-29 22:59:10 +00:00
ImmutableMap.h Reverted implementation of ImmutableMap::find() to return a TreeTy* instead of 2008-01-18 00:38:04 +00:00
ImmutableSet.h Added "getRoot()" to ImmutableSet. 2008-01-23 19:57:33 +00:00
IndexedMap.h Don't attribute in file headers anymore. See llvmdev for the 2007-12-29 19:59:42 +00:00
iterator.in remove attribution from a variety of miscellaneous files. 2007-12-29 22:59:10 +00:00
OwningPtr.h Don't attribute in file headers anymore. See llvmdev for the 2007-12-29 19:59:42 +00:00
PostOrderIterator.h Don't attribute in file headers anymore. See llvmdev for the 2007-12-29 19:59:42 +00:00
SCCIterator.h Don't attribute in file headers anymore. See llvmdev for the 2007-12-29 19:59:42 +00:00
SetOperations.h Don't attribute in file headers anymore. See llvmdev for the 2007-12-29 19:59:42 +00:00
SetVector.h Don't attribute in file headers anymore. See llvmdev for the 2007-12-29 19:59:42 +00:00
SmallPtrSet.h Don't attribute in file headers anymore. See llvmdev for the 2007-12-29 19:59:42 +00:00
SmallSet.h Don't attribute in file headers anymore. See llvmdev for the 2007-12-29 19:59:42 +00:00
SmallString.h Don't attribute in file headers anymore. See llvmdev for the 2007-12-29 19:59:42 +00:00
SmallVector.h add operator==/!= to smallvector. 2008-01-11 18:42:02 +00:00
SparseBitVector.h Don't attribute in file headers anymore. See llvmdev for the 2007-12-29 19:59:42 +00:00
Statistic.h Don't attribute in file headers anymore. See llvmdev for the 2007-12-29 19:59:42 +00:00
STLExtras.h Don't attribute in file headers anymore. See llvmdev for the 2007-12-29 19:59:42 +00:00
StringExtras.h don't form an std::string with a null pointer, it aborts. 2008-01-18 18:54:31 +00:00
StringMap.h Don't attribute in file headers anymore. See llvmdev for the 2007-12-29 19:59:42 +00:00
Tree.h Don't attribute in file headers anymore. See llvmdev for the 2007-12-29 19:59:42 +00:00
Trie.h Don't attribute in file headers anymore. See llvmdev for the 2007-12-29 19:59:42 +00:00
UniqueVector.h Don't attribute in file headers anymore. See llvmdev for the 2007-12-29 19:59:42 +00:00
VectorExtras.h Don't attribute in file headers anymore. See llvmdev for the 2007-12-29 19:59:42 +00:00