diff options
author | Benjamin Kramer <benny.kra@googlemail.com> | 2014-03-02 13:01:17 +0000 |
---|---|---|
committer | Benjamin Kramer <benny.kra@googlemail.com> | 2014-03-02 13:01:17 +0000 |
commit | ba9fd9e97eb0a194186ae9fc4d3344f5c8640c09 (patch) | |
tree | f1f0f10c7255c1a6387605d9c81e71ce7383dcc1 /lib/Basic/SourceManager.cpp | |
parent | 99aa2bfed56557805230cb81e1b41008591cc29c (diff) | |
download | clang-ba9fd9e97eb0a194186ae9fc4d3344f5c8640c09.tar.gz |
[C++11] Replace llvm::tie with std::tie.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@202639 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Basic/SourceManager.cpp')
-rw-r--r-- | lib/Basic/SourceManager.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Basic/SourceManager.cpp b/lib/Basic/SourceManager.cpp index bc31189d1f..bc42d3e92d 100644 --- a/lib/Basic/SourceManager.cpp +++ b/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; |