summaryrefslogtreecommitdiffstats
path: root/clang/lib/Basic/SourceManager.cpp
diff options
context:
space:
mode:
authorBenjamin Kramer <benny.kra@googlemail.com>2014-03-02 13:01:17 +0000
committerBenjamin Kramer <benny.kra@googlemail.com>2014-03-02 13:01:17 +0000
commit867ea1d42604259bb1e93932a59502e7944d3f49 (patch)
treef66f726c09c203f61279cca91ed12d94679b7788 /clang/lib/Basic/SourceManager.cpp
parentd40922989ad5739175b8904acad17a5d5241c703 (diff)
downloadbcm5719-llvm-867ea1d42604259bb1e93932a59502e7944d3f49.tar.gz
bcm5719-llvm-867ea1d42604259bb1e93932a59502e7944d3f49.zip
[C++11] Replace llvm::tie with std::tie.
llvm-svn: 202639
Diffstat (limited to 'clang/lib/Basic/SourceManager.cpp')
-rw-r--r--clang/lib/Basic/SourceManager.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/lib/Basic/SourceManager.cpp b/clang/lib/Basic/SourceManager.cpp
index bc31189d1f7..bc42d3e92d4 100644
--- a/clang/lib/Basic/SourceManager.cpp
+++ b/clang/lib/Basic/SourceManager.cpp
@@ -1890,7 +1890,7 @@ void SourceManager::associateFileChunkWithMacroArgExp(
FileID SpellFID; // Current FileID in the spelling range.
unsigned SpellRelativeOffs;
- llvm::tie(SpellFID, SpellRelativeOffs) = getDecomposedLoc(SpellLoc);
+ std::tie(SpellFID, SpellRelativeOffs) = getDecomposedLoc(SpellLoc);
while (1) {
const SLocEntry &Entry = getSLocEntry(SpellFID);
unsigned SpellFIDBeginOffs = Entry.getOffset();
@@ -1969,7 +1969,7 @@ SourceManager::getMacroArgExpandedLocation(SourceLocation Loc) const {
FileID FID;
unsigned Offset;
- llvm::tie(FID, Offset) = getDecomposedLoc(Loc);
+ std::tie(FID, Offset) = getDecomposedLoc(Loc);
if (FID.isInvalid())
return Loc;
OpenPOWER on IntegriCloud