diff options
author | Chandler Carruth <chandlerc@gmail.com> | 2011-07-25 20:52:32 +0000 |
---|---|---|
committer | Chandler Carruth <chandlerc@gmail.com> | 2011-07-25 20:52:32 +0000 |
commit | c7ca5218b691296031f6a3b6c41086745b231735 (patch) | |
tree | 8843ea8e81a9dd5aabda67a5ac0781cebb6a57a4 /clang/lib/Lex/PPDirectives.cpp | |
parent | c84d769c686fd09651bcdcf2f34b342312db78d5 (diff) | |
download | bcm5719-llvm-c7ca5218b691296031f6a3b6c41086745b231735.tar.gz bcm5719-llvm-c7ca5218b691296031f6a3b6c41086745b231735.zip |
Rename getDecomposedInstantiationLoc to getDecomposedExpansionLoc.
llvm-svn: 135962
Diffstat (limited to 'clang/lib/Lex/PPDirectives.cpp')
-rw-r--r-- | clang/lib/Lex/PPDirectives.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/lib/Lex/PPDirectives.cpp b/clang/lib/Lex/PPDirectives.cpp index 7e4b9b2bd6e..212ffeef1b1 100644 --- a/clang/lib/Lex/PPDirectives.cpp +++ b/clang/lib/Lex/PPDirectives.cpp @@ -825,7 +825,7 @@ static bool ReadLineMarkerFlags(bool &IsFileEntry, bool &IsFileExit, // If we are leaving the current presumed file, check to make sure the // presumed include stack isn't empty! FileID CurFileID = - SM.getDecomposedInstantiationLoc(FlagTok.getLocation()).first; + SM.getDecomposedExpansionLoc(FlagTok.getLocation()).first; PresumedLoc PLoc = SM.getPresumedLoc(FlagTok.getLocation()); if (PLoc.isInvalid()) return true; @@ -834,7 +834,7 @@ static bool ReadLineMarkerFlags(bool &IsFileEntry, bool &IsFileExit, // different physical file, then we aren't in a "1" line marker flag region. SourceLocation IncLoc = PLoc.getIncludeLoc(); if (IncLoc.isInvalid() || - SM.getDecomposedInstantiationLoc(IncLoc).first != CurFileID) { + SM.getDecomposedExpansionLoc(IncLoc).first != CurFileID) { PP.Diag(FlagTok, diag::err_pp_linemarker_invalid_pop); PP.DiscardUntilEndOfDirective(); return true; |