Remove Lexer::LexIncludeFilename.

llvm-svn: 59186
This commit is contained in:
Ted Kremenek 2008-11-12 22:44:15 +00:00
parent 6c90efb923
commit 2f4f2dea82
1 changed files with 0 additions and 21 deletions

View File

@ -1066,27 +1066,6 @@ bool Lexer::SkipBlockComment(Token &Result, const char *CurPtr) {
// Primary Lexing Entry Points
//===----------------------------------------------------------------------===//
/// LexIncludeFilename - After the preprocessor has parsed a #include, lex and
/// (potentially) macro expand the filename.
void Lexer::LexIncludeFilename(Token &FilenameTok) {
assert(ParsingPreprocessorDirective &&
ParsingFilename == false &&
"Must be in a preprocessing directive!");
// We are now parsing a filename!
ParsingFilename = true;
// Lex the filename.
Lex(FilenameTok);
// We should have obtained the filename now.
ParsingFilename = false;
// No filename?
if (FilenameTok.is(tok::eom))
Diag(FilenameTok.getLocation(), diag::err_pp_expects_filename);
}
/// ReadToEndOfLine - Read the rest of the current preprocessor line as an
/// uninterpreted string. This switches the lexer out of directive mode.
std::string Lexer::ReadToEndOfLine() {