diff options
author | Benjamin Kramer <benny.kra@googlemail.com> | 2014-03-02 13:30:33 +0000 |
---|---|---|
committer | Benjamin Kramer <benny.kra@googlemail.com> | 2014-03-02 13:30:33 +0000 |
commit | d6f1f84f5170c3f7ac35d1ff3d03d95471d80388 (patch) | |
tree | 0942473b83cbd6a1b63871e744345aaf848229e8 /llvm/lib/IR/PassManager.cpp | |
parent | cef536ec0fbc0a194f261a25cb499aeada32f943 (diff) | |
download | bcm5719-llvm-d6f1f84f5170c3f7ac35d1ff3d03d95471d80388.tar.gz bcm5719-llvm-d6f1f84f5170c3f7ac35d1ff3d03d95471d80388.zip |
[C++11] Replace llvm::tie with std::tie.
The old implementation is no longer needed in C++11.
llvm-svn: 202644
Diffstat (limited to 'llvm/lib/IR/PassManager.cpp')
-rw-r--r-- | llvm/lib/IR/PassManager.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/IR/PassManager.cpp b/llvm/lib/IR/PassManager.cpp index 8185e55a5e5..288940b2923 100644 --- a/llvm/lib/IR/PassManager.cpp +++ b/llvm/lib/IR/PassManager.cpp @@ -44,7 +44,7 @@ ModuleAnalysisManager::ResultConceptT & ModuleAnalysisManager::getResultImpl(void *PassID, Module *M) { ModuleAnalysisResultMapT::iterator RI; bool Inserted; - llvm::tie(RI, Inserted) = ModuleAnalysisResults.insert(std::make_pair( + std::tie(RI, Inserted) = ModuleAnalysisResults.insert(std::make_pair( PassID, polymorphic_ptr<detail::AnalysisResultConcept<Module *> >())); // If we don't have a cached result for this module, look up the pass and run @@ -115,7 +115,7 @@ FunctionAnalysisManager::ResultConceptT & FunctionAnalysisManager::getResultImpl(void *PassID, Function *F) { FunctionAnalysisResultMapT::iterator RI; bool Inserted; - llvm::tie(RI, Inserted) = FunctionAnalysisResults.insert(std::make_pair( + std::tie(RI, Inserted) = FunctionAnalysisResults.insert(std::make_pair( std::make_pair(PassID, F), FunctionAnalysisResultListT::iterator())); // If we don't have a cached result for this function, look up the pass and |