diff options
author | Chris Lattner <sabre@nondot.org> | 2009-01-19 07:46:45 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-01-19 07:46:45 +0000 |
commit | a11d61793341fea195c29a0dab3fbd74f2b39a8c (patch) | |
tree | 8cff5248e13216b898f92723678d94b9a0ff78d3 /lib/CodeGen | |
parent | 9ee7d456b427e002f7fe1844b64bec8055c8db52 (diff) |
Rename SourceManager::getCanonicalFileID -> getFileID. There is
no longer such thing as a non-canonical FileID.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@62499 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen')
-rw-r--r-- | lib/CodeGen/CGDebugInfo.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/CGDebugInfo.cpp b/lib/CodeGen/CGDebugInfo.cpp index 5e4a95cc0c..1aab4bb5d7 100644 --- a/lib/CodeGen/CGDebugInfo.cpp +++ b/lib/CodeGen/CGDebugInfo.cpp @@ -51,7 +51,7 @@ llvm::DICompileUnit CGDebugInfo::getOrCreateCompileUnit(SourceLocation Loc) { return llvm::DICompileUnit(); SourceManager &SM = M->getContext().getSourceManager(); - const FileEntry *FE = SM.getFileEntryForID(SM.getCanonicalFileID(Loc)); + const FileEntry *FE = SM.getFileEntryForID(SM.getFileID(Loc)); if (FE == 0) return llvm::DICompileUnit(); // See if this compile unit has been used before. |