From f7cf85b330bedd2877e1371fb0a83e99751ae162 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Fri, 16 Jan 2009 07:36:28 +0000 Subject: more SourceLocation lexicon change: instead of referring to the "logical" location, refer to the "instantiation" location. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@62316 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Basic/SourceManager.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/Basic/SourceManager.cpp') 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 -- cgit v1.2.3-18-g5258