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 | cbc35ecb045a163a064d2a592515a381d01d27d2 (patch) | |
| tree | 4c30786b95d5f37ef21b1a349cadface1f46315e /clang/lib/CodeGen | |
| parent | 8c3b81214833353aac2c89e35db3be1690595cf1 (diff) | |
| download | bcm5719-llvm-cbc35ecb045a163a064d2a592515a381d01d27d2.tar.gz bcm5719-llvm-cbc35ecb045a163a064d2a592515a381d01d27d2.zip | |
Rename SourceManager::getCanonicalFileID -> getFileID. There is
no longer such thing as a non-canonical FileID.
llvm-svn: 62499
Diffstat (limited to 'clang/lib/CodeGen')
| -rw-r--r-- | clang/lib/CodeGen/CGDebugInfo.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/CGDebugInfo.cpp b/clang/lib/CodeGen/CGDebugInfo.cpp index 5e4a95cc0cf..1aab4bb5d7d 100644 --- a/clang/lib/CodeGen/CGDebugInfo.cpp +++ b/clang/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. |

