Home
last modified time | relevance | path

Searched refs:FilenameTok (Results 1 – 5 of 5) sorted by relevance

/external/clang/lib/Lex/
DPreprocessorLexer.cpp32 void PreprocessorLexer::LexIncludeFilename(Token &FilenameTok) { in LexIncludeFilename() argument
42 IndirectLex(FilenameTok); in LexIncludeFilename()
44 PP->Lex(FilenameTok); in LexIncludeFilename()
50 if (FilenameTok.is(tok::eod)) in LexIncludeFilename()
51 PP->Diag(FilenameTok.getLocation(), diag::err_pp_expects_filename); in LexIncludeFilename()
DPPDirectives.cpp1510 Token FilenameTok; in HandleIncludeDirective() local
1511 CurPPLexer->LexIncludeFilename(FilenameTok); in HandleIncludeDirective()
1519 switch (FilenameTok.getKind()) { in HandleIncludeDirective()
1526 Filename = getSpelling(FilenameTok, FilenameBuffer); in HandleIncludeDirective()
1527 End = FilenameTok.getLocation(); in HandleIncludeDirective()
1528 CharEnd = End.getLocWithOffset(FilenameTok.getLength()); in HandleIncludeDirective()
1541 Diag(FilenameTok.getLocation(), diag::err_pp_expects_filename); in HandleIncludeDirective()
1547 = CharSourceRange::getCharRange(FilenameTok.getLocation(), CharEnd); in HandleIncludeDirective()
1550 GetIncludeFilenameSpelling(FilenameTok.getLocation(), Filename); in HandleIncludeDirective()
1566 Diag(FilenameTok, diag::err_pp_include_too_deep); in HandleIncludeDirective()
[all …]
DPragma.cpp455 Token FilenameTok; in HandlePragmaDependency() local
456 CurPPLexer->LexIncludeFilename(FilenameTok); in HandlePragmaDependency()
459 if (FilenameTok.is(tok::eod)) in HandlePragmaDependency()
465 StringRef Filename = getSpelling(FilenameTok, FilenameBuffer, &Invalid); in HandlePragmaDependency()
470 GetIncludeFilenameSpelling(FilenameTok.getLocation(), Filename); in HandlePragmaDependency()
479 LookupFile(FilenameTok.getLocation(), Filename, isAngled, nullptr, in HandlePragmaDependency()
483 Diag(FilenameTok, diag::err_pp_file_not_found) << Filename; in HandlePragmaDependency()
502 Diag(FilenameTok, diag::pp_out_of_date_dependency) << Message; in HandlePragmaDependency()
/external/clang/include/clang/Lex/
DPPCallbacks.h64 const Token &FilenameTok, in FileSkipped() argument
341 const Token &FilenameTok, in FileSkipped() argument
343 First->FileSkipped(SkippedFile, FilenameTok, FileType); in FileSkipped()
344 Second->FileSkipped(SkippedFile, FilenameTok, FileType); in FileSkipped()
/external/clang/lib/Frontend/Rewrite/
DInclusionRewriter.cpp64 void FileSkipped(const FileEntry &SkippedFile, const Token &FilenameTok,