1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 19:23:23 +01:00
llvm-mirror/include/llvm/ADT
Chandler Carruth 7c64c22064 Fix a null pointer dereference when copying a null polymorphic pointer.
This bug only bit the C++98 build bots because all of the actual uses
really do move. ;] But not *quite* ready to do the whole C++11 switch
yet, so clean it up. Also add a unit test that catches this immediately.

llvm-svn: 194548
2013-11-13 02:48:20 +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: Add a fast case for isAllOnesValue. 2013-06-15 11:32:09 +00:00
APSInt.h Use pre-inc, pre-dec when possible. 2013-03-20 23:56:19 +00:00
ArrayRef.h Add LLVM_HAS_INITIALIZER_LISTS for upcoming C++11 support. Use it in ArrayRef 2013-11-11 03:58:00 +00:00
BitVector.h BitVector: Do the right thing in all() when Size is a multiple of BITWORD_SIZE. 2013-06-07 15:14:31 +00:00
DAGDeltaAlgorithm.h Sort the #include lines for the include/... tree with the script. 2012-12-03 17:02:12 +00:00
DeltaAlgorithm.h Sort the #include lines for the include/... tree with the script. 2012-12-03 17:02:12 +00:00
DenseMap.h Rehash but don't grow when full of tombstones. 2013-10-30 15:10:54 +00:00
DenseMapInfo.h Fix integer undefined behavior due to signed left shift overflow in LLVM. 2012-08-24 23:29:28 +00:00
DenseSet.h Make comment a bit more clear. 2013-01-04 17:59:17 +00:00
DepthFirstIterator.h Sort the #include lines for the include/... tree with the script. 2012-12-03 17:02:12 +00:00
edit_distance.h Add function for computing the edit distance of two arrays. 2012-02-15 22:13:07 +00:00
EquivalenceClasses.h Fix Doxygen issues: wrap code examples in \code and use \p to refer to 2012-09-15 20:22:05 +00:00
FoldingSet.h Avoid warnings about unused parameters that tend to come up a lot when 2013-06-10 12:09:30 +00:00
GraphTraits.h
Hashing.h Make the host endianness check an integer constant expression. 2013-04-15 14:44:24 +00:00
ilist_node.h Fix include guards so they exactly match file names. 2013-01-10 00:45:19 +00:00
ilist.h Add warn_unused_result to empty() on various containers. 2013-09-13 17:33:24 +00:00
ImmutableIntervalMap.h Fix include guards so they exactly match file names. 2013-01-10 00:45:19 +00:00
ImmutableList.h Fix include guards so they exactly match file names. 2013-01-10 00:45:19 +00:00
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 SparseSet: Add support for key-derived indexes and arbitrary key types. 2012-04-20 20:05:28 +00:00
IntEqClasses.h
IntervalMap.h Fix -Wdocumentation warnings. 2013-07-28 23:43:28 +00:00
IntrusiveRefCntPtr.h Cleanup the simplify_type implementation. 2013-03-27 16:43:11 +00:00
MapVector.h Remove my bogus MapVector::erase() with a narrower ::pop_back(), and add a unit test. 2013-02-19 18:26:07 +00:00
None.h Correct spelling of 'enumerator'. 2013-02-21 06:08:22 +00:00
Optional.h Cleanup the simplify_type implementation. 2013-03-27 16:43:11 +00:00
OwningPtr.h Use only explicit bool conversion operators 2013-05-15 07:36:59 +00:00
PackedVector.h PackedVector: Make the BitVector implementation configurable. 2012-09-28 16:40:29 +00:00
PointerIntPair.h Explicitly request unsigned enum types when desired 2013-09-23 23:26:57 +00:00
PointerUnion.h Basic unit tests for PointerUnion 2013-08-21 21:30:23 +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 Add std prefixes to fix the build with xlc. 2013-03-20 21:00:22 +00:00
PriorityQueue.h Fix include guards so they exactly match file names. 2013-01-10 00:45:19 +00:00
SCCIterator.h Sort the #include lines for the include/... tree with the script. 2012-12-03 17:02:12 +00:00
ScopedHashTable.h Mark unimplemented copy constructors and copy assignment operators as LLVM_DELETED_FUNCTION. 2012-09-17 06:31:17 +00:00
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 Add warn_unused_result to empty() on various containers. 2013-09-13 17:33:24 +00:00
SmallSet.h Document the return value of SmallSet insert. 2013-04-04 04:54:21 +00:00
SmallString.h Another test commit. Remove trailing whitespace. 2013-02-26 19:33:48 +00:00
SmallVector.h Add warn_unused_result to empty() on various containers. 2013-09-13 17:33:24 +00:00
SparseBitVector.h Replace Count{Leading,Trailing}Zeros_{32,64} with count{Leading,Trailing}Zeros. 2013-05-24 22:23:49 +00:00
SparseMultiSet.h SparseMultiSet.h: Add suggested parentheses. 2013-01-22 05:41:57 +00:00
SparseSet.h Sort the #include lines for the include/... tree with the script. 2012-12-03 17:02:12 +00:00
Statistic.h Disable statistics on Release builds and move tests that depend on -stats. 2013-03-08 22:56:31 +00:00
STLExtras.h Provide basic type safety for array_pod_sort comparators. 2013-09-22 14:09:50 +00:00
StringExtras.h Add a Python-like join function to merge a list of strings with a 2013-09-03 20:43:54 +00:00
StringMap.h Disable the StringMapEntry copy constructor, to make sure we 2013-05-25 22:28:22 +00:00
StringRef.h Add {start,end}with_lower methods to StringRef. 2013-10-30 18:32:26 +00:00
StringSet.h [ADT] Fix StringSet::insert() to not allocate on every lookup. 2013-03-15 20:16:59 +00:00
StringSwitch.h Fix shadowed variable warning 2012-08-01 01:43:10 +00:00
TinyPtrVector.h Switch LLVM_USE_RVALUE_REFERENCES to LLVM_HAS_RVALUE_REFERENCES. 2012-11-30 11:45:22 +00:00
Triple.h Undefine NetBSD, it may have been defined by an earlier include of 2013-09-25 17:49:57 +00:00
Twine.h Fix typo 2013-04-18 20:49:17 +00:00
UniqueVector.h
ValueMap.h Sort the #include lines for the include/... tree with the script. 2012-12-03 17:02:12 +00:00
VariadicFunction.h Fix include guards so they exactly match file names. 2013-01-10 00:45:19 +00:00