1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-23 04:52:54 +02:00
llvm-mirror/include/llvm/ADT
David Blaikie 4513ea3e79 Simplify make_range by using move semantics
Move the iterators into the range the same way the range's ctor moves
them into the members.

Also remove some redundant top level parens in the return statement.

llvm-svn: 205993
2014-04-10 22:03:48 +00:00
..
APFloat.h [C++11] Make use of 'nullptr' in the Support library. 2014-04-07 04:17:22 +00:00
APInt.h [C++11] Remove the R-value reference #if usage from the ADT and Support 2014-03-01 09:27:28 +00:00
APSInt.h Give APInt move semantics. 2014-03-02 20:56:28 +00:00
ArrayRef.h [C++11] More 'nullptr' conversion or in some cases just using a boolean check instead of comparing to nullptr. 2014-04-09 06:08:46 +00:00
BitVector.h Shifting into the sign bit is UB as discussed on IRC. Explicitly use the 2014-03-31 22:53:57 +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 [C++11] More 'nullptr' conversion or in some cases just using a boolean check instead of comparing to nullptr. 2014-04-09 06:08:46 +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 Remove unnecessary copy ctors. 2014-03-02 21:24:52 +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
EquivalenceClasses.h Remove copy ctors that did the same thing as the default one. 2014-03-11 11:32:49 +00:00
FoldingSet.h [C++11] Make use of 'nullptr' in the Support library. 2014-04-07 04:17:22 +00:00
GraphTraits.h
Hashing.h [C++11] Replace LLVM-style type traits with C++11 standard ones. 2014-03-07 14:42:25 +00:00
ilist_node.h [C++11] Make use of 'nullptr' in the Support library. 2014-04-07 04:17:22 +00:00
ilist.h [C++11] More 'nullptr' conversion or in some cases just using a boolean check instead of comparing to nullptr. 2014-04-09 06:08:46 +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
IntEqClasses.h
IntervalMap.h Fix -Wdocumentation warnings. 2013-07-28 23:43:28 +00:00
IntrusiveRefCntPtr.h [C++11] Replace some comparisons with 'nullptr' with simple boolean checks to reduce verbosity. 2014-04-09 04:20:00 +00:00
iterator_range.h Simplify make_range by using move semantics 2014-04-10 22:03:48 +00:00
MapVector.h [C++11] Replace llvm::next and llvm::prior with std::next and std::prev. 2014-03-02 12:27:27 +00:00
None.h Correct spelling of 'enumerator'. 2013-02-21 06:08:22 +00:00
Optional.h [C++11] Remove the R-value reference #if usage from the ADT and Support 2014-03-01 09:27:28 +00:00
OwningPtr.h [C++11] Add release() to OwningPtr. 2014-03-05 08:25:08 +00:00
PackedVector.h PackedVector: Make the BitVector implementation configurable. 2012-09-28 16:40:29 +00:00
PointerIntPair.h PointerIntPair: Avoid an (academic) case of undefined behavior in the DenseMapInfo specialization. 2014-03-15 18:10:49 +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
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 SCCIterator: Merge MinVisitNumStack and VisitStack 2014-02-13 18:26:15 +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 [C++11] Remove the completely unnecessary requirement on SetVector's 2014-03-03 19:28:52 +00:00
SmallBitVector.h [C++11] Remove the R-value reference #if usage from the ADT and Support 2014-03-01 09:27:28 +00:00
SmallPtrSet.h [C++11] Remove the R-value reference #if usage from the ADT and Support 2014-03-01 09:27:28 +00:00
SmallSet.h The count() function for STL datatypes returns unsigned, even 2013-12-22 12:04:23 +00:00
SmallString.h Revert "Clean up SmallString a bit" 2014-03-09 06:22:58 +00:00
SmallVector.h Removing llvm::distance and llvm::copy for iterator_range based on post-commit review feedback. Adding an explicit range-based constructor to SmallVector, which supersedes the llvm::copy functionality. 2014-03-10 13:43:46 +00:00
SparseBitVector.h Correct word hyphenations 2013-12-05 05:44:44 +00:00
SparseMultiSet.h Make some assertions on constant expressions static. 2014-03-15 18:47:07 +00:00
SparseSet.h Make some assertions on constant expressions static. 2014-03-15 18:47:07 +00:00
Statistic.h Use 'false' for a bool instead of '0' 2014-04-07 06:59:39 +00:00
STLExtras.h Remove copy ctors that did the same thing as the default one. 2014-03-11 11:32:49 +00:00
StringExtras.h Move true/false StringRef helper to StringExtras 2014-01-27 04:07:36 +00:00
StringMap.h [C++11] Make use of 'nullptr' in the Support library. 2014-04-07 04:17:22 +00:00
StringRef.h [C++11] Replace some comparisons with 'nullptr' with simple boolean checks to reduce verbosity. 2014-04-09 04:20:00 +00:00
StringSet.h [ADT] Fix StringSet::insert() to not allocate on every lookup. 2013-03-15 20:16:59 +00:00
StringSwitch.h [C++11] Make use of 'nullptr' in the Support library. 2014-04-07 04:17:22 +00:00
TinyPtrVector.h [C++11] Replace llvm::next and llvm::prior with std::next and std::prev. 2014-03-02 12:27:27 +00:00
Triple.h Quick fix: Triple::isOSMSVCRT() should be false for targeting cygwin. 2014-04-06 10:01:23 +00:00
Twine.h [C++11] Make use of 'nullptr' in the Support library. 2014-04-07 04:17:22 +00:00
UniqueVector.h
VariadicFunction.h Fix include guards so they exactly match file names. 2013-01-10 00:45:19 +00:00