diff options
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 55e8c4aee7..fa0a9bb565 100644 --- a/lib/Basic/SourceManager.cpp +++ b/lib/Basic/SourceManager.cpp @@ -155,8 +155,8 @@ SourceLocation SourceManager::getInstantiationLoc(SourceLocation SpellingLoc, // where the characters are actually located. SpellingLoc = getSpellingLoc(SpellingLoc); - // Resolve InstantLoc down to a real logical location. - InstantLoc = getLogicalLoc(InstantLoc); + // Resolve InstantLoc down to a real instantiation location. + InstantLoc = getInstantiationLoc(InstantLoc); // If the last macro id is close to the currently requested location, try to |