aboutsummaryrefslogtreecommitdiff
path: root/lib/Lex
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-01-19 07:46:45 +0000
committerChris Lattner <sabre@nondot.org>2009-01-19 07:46:45 +0000
commita11d61793341fea195c29a0dab3fbd74f2b39a8c (patch)
tree8cff5248e13216b898f92723678d94b9a0ff78d3 /lib/Lex
parent9ee7d456b427e002f7fe1844b64bec8055c8db52 (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/Lex')
-rw-r--r--lib/Lex/Lexer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Lex/Lexer.cpp b/lib/Lex/Lexer.cpp
index 9280526d22..19b3121c64 100644
--- a/lib/Lex/Lexer.cpp
+++ b/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