From 7c8556e7bc7f13cb91b3e208a40f46e6c9199f73 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Fri, 16 Jan 2009 07:04:11 +0000 Subject: remove obsolete comment which happened to go over 80 cols. llvm-svn: 62313 --- clang/lib/Lex/Preprocessor.cpp | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'clang/lib/Lex/Preprocessor.cpp') diff --git a/clang/lib/Lex/Preprocessor.cpp b/clang/lib/Lex/Preprocessor.cpp index f7c38e773a5..59632edaaeb 100644 --- a/clang/lib/Lex/Preprocessor.cpp +++ b/clang/lib/Lex/Preprocessor.cpp @@ -254,15 +254,8 @@ unsigned Preprocessor::getSpelling(const Token &Tok, unsigned Len; if (CurPTHLexer) { - // We perform the const_cast<> here because we will only have a PTHLexer - // when grabbing a stream of tokens from the PTH file (and thus the - // Preprocessor state is allowed to change). The PTHLexer can assume we are - // getting token spellings in the order of tokens, and thus can update - // its internal state so that it can quickly fetch spellings from the PTH - // file. Len = CurPTHLexer.get()->getSpelling(Tok.getLocation(), Buffer); - } - else { + } else { SourceLocation SLoc = SourceMgr.getSpellingLoc(Tok.getLocation()); unsigned FID = SourceMgr.getCanonicalFileID(SLoc); unsigned FPos = SourceMgr.getFullFilePos(SLoc); -- cgit v1.2.3