File tree Expand file tree Collapse file tree 1 file changed +3
-6
lines changed Expand file tree Collapse file tree 1 file changed +3
-6
lines changed Original file line number Diff line number Diff line change @@ -1795,9 +1795,8 @@ void SourceManager::associateFileChunkWithMacroArgExp(
1795
1795
// spelling range and if one is itself a macro argument expansion, recurse
1796
1796
// and associate the file chunk that it represents.
1797
1797
1798
- FileID SpellFID; // Current FileID in the spelling range.
1799
- unsigned SpellRelativeOffs;
1800
- std::tie (SpellFID, SpellRelativeOffs) = getDecomposedLoc (SpellLoc);
1798
+ // Current FileID in the spelling range.
1799
+ auto [SpellFID, SpellRelativeOffs] = getDecomposedLoc (SpellLoc);
1801
1800
while (true ) {
1802
1801
const SLocEntry &Entry = getSLocEntry (SpellFID);
1803
1802
SourceLocation::UIntTy SpellFIDBeginOffs = Entry.getOffset ();
@@ -1879,9 +1878,7 @@ SourceManager::getMacroArgExpandedLocation(SourceLocation Loc) const {
1879
1878
if (Loc.isInvalid () || !Loc.isFileID ())
1880
1879
return Loc;
1881
1880
1882
- FileID FID;
1883
- unsigned Offset;
1884
- std::tie (FID, Offset) = getDecomposedLoc (Loc);
1881
+ auto [FID, Offset] = getDecomposedLoc (Loc);
1885
1882
if (FID.isInvalid ())
1886
1883
return Loc;
1887
1884
You can’t perform that action at this time.
0 commit comments