Mechanically rename SourceManager::getInstantiationLoc and
FullSourceLoc::getInstantiationLoc to ...::getExpansionLoc. This is part of the API and documentation update from 'instantiation' as the term for macros to 'expansion'. llvm-svn: 135914
This commit is contained in:
@@ -123,7 +123,7 @@ void DependencyFileCallback::FileChanged(SourceLocation Loc,
|
||||
SourceManager &SM = PP->getSourceManager();
|
||||
|
||||
const FileEntry *FE =
|
||||
SM.getFileEntryForID(SM.getFileID(SM.getInstantiationLoc(Loc)));
|
||||
SM.getFileEntryForID(SM.getFileID(SM.getExpansionLoc(Loc)));
|
||||
if (FE == 0) return;
|
||||
|
||||
StringRef Filename = FE->getName();
|
||||
|
||||
Reference in New Issue
Block a user