summaryrefslogtreecommitdiff
path: root/include/llvm/IR
diff options
context:
space:
mode:
authorChandler Carruth <chandlerc@gmail.com>2014-03-01 09:32:03 +0000
committerChandler Carruth <chandlerc@gmail.com>2014-03-01 09:32:03 +0000
commitbc1bddb4c63347e427bfe468e605eae1878c7880 (patch)
tree557c14764a33833a4c132309f83a3a46db44b5b9 /include/llvm/IR
parent9314308db1c11de8e13014ac74b1d5e2fd442f57 (diff)
downloadllvm-bc1bddb4c63347e427bfe468e605eae1878c7880.tar.gz
llvm-bc1bddb4c63347e427bfe468e605eae1878c7880.tar.bz2
llvm-bc1bddb4c63347e427bfe468e605eae1878c7880.tar.xz
[C++11] Remove the use of LLVM_HAS_RVALUE_REFERENCES from the rest of
the core LLVM libraries. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@202582 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/IR')
-rw-r--r--include/llvm/IR/PassManager.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/llvm/IR/PassManager.h b/include/llvm/IR/PassManager.h
index 93d04344f8..b1057b5032 100644
--- a/include/llvm/IR/PassManager.h
+++ b/include/llvm/IR/PassManager.h
@@ -106,7 +106,6 @@ public:
PreservedPassIDs.erase(*I);
}
-#if LLVM_HAS_RVALUE_REFERENCES
/// \brief Intersect this set with a temporary other set in place.
///
/// This is a mutating operation on this preserved set, removing all
@@ -124,7 +123,6 @@ public:
if (!Arg.PreservedPassIDs.count(*I))
PreservedPassIDs.erase(*I);
}
-#endif
/// \brief Query whether a pass is marked as preserved by this set.
template <typename PassT> bool preserved() const {