diff options
Diffstat (limited to 'lib/Lex/TokenLexer.cpp')
-rw-r--r-- | lib/Lex/TokenLexer.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/lib/Lex/TokenLexer.cpp b/lib/Lex/TokenLexer.cpp index 7ae61beb88..40f6640cd7 100644 --- a/lib/Lex/TokenLexer.cpp +++ b/lib/Lex/TokenLexer.cpp @@ -33,12 +33,6 @@ void TokenLexer::Init(Token &Tok, MacroArgs *Actuals) { CurToken = 0; InstantiateLoc = Tok.getLocation(); - - // If the instantiation loc is not already a FileID, resolve it here. If we - // don't do this, we end up doing it once per token lexed. - if (!InstantiateLoc.isFileID()) - InstantiateLoc = PP.getSourceManager().getInstantiationLoc(InstantiateLoc); - AtStartOfLine = Tok.isAtStartOfLine(); HasLeadingSpace = Tok.hasLeadingSpace(); Tokens = &*Macro->tokens_begin(); |