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/Lex/Lexer.cpp | |
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/Lex/Lexer.cpp')
-rw-r--r-- | clang/lib/Lex/Lexer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Lex/Lexer.cpp b/clang/lib/Lex/Lexer.cpp index 9280526d22d..19b3121c644 100644 --- a/clang/lib/Lex/Lexer.cpp +++ b/clang/lib/Lex/Lexer.cpp @@ -156,7 +156,7 @@ Lexer *Lexer::Create_PragmaLexer(SourceLocation SpellingLoc, SourceManager &SM = PP.getSourceManager(); // Create the lexer as if we were going to lex the file normally. - FileID SpellingFID = SM.getCanonicalFileID(SpellingLoc); + FileID SpellingFID = SM.getFileID(SpellingLoc); Lexer *L = new Lexer(SpellingFID, PP); // Now that the lexer is created, change the start/end locations so that we |