/external/clang/lib/Lex/ |
D | PreprocessorLexer.cpp | 32 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()
|
D | PPDirectives.cpp | 1684 Token FilenameTok; in HandleIncludeDirective() local 1685 CurPPLexer->LexIncludeFilename(FilenameTok); in HandleIncludeDirective() 1693 switch (FilenameTok.getKind()) { in HandleIncludeDirective() 1700 Filename = getSpelling(FilenameTok, FilenameBuffer); in HandleIncludeDirective() 1701 End = FilenameTok.getLocation(); in HandleIncludeDirective() 1702 CharEnd = End.getLocWithOffset(FilenameTok.getLength()); in HandleIncludeDirective() 1715 Diag(FilenameTok.getLocation(), diag::err_pp_expects_filename); in HandleIncludeDirective() 1721 = CharSourceRange::getCharRange(FilenameTok.getLocation(), CharEnd); in HandleIncludeDirective() 1724 GetIncludeFilenameSpelling(FilenameTok.getLocation(), Filename); in HandleIncludeDirective() 1740 Diag(FilenameTok, diag::err_pp_include_too_deep); in HandleIncludeDirective() [all …]
|
D | Pragma.cpp | 455 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/llvm-project/clang/lib/Lex/ |
D | Preprocessor.cpp | 990 bool Preprocessor::LexHeaderName(Token &FilenameTok, bool AllowMacroExpansion) { in LexHeaderName() argument 994 CurPPLexer->LexIncludeFilename(FilenameTok); in LexHeaderName() 996 Lex(FilenameTok); in LexHeaderName() 1001 if (FilenameTok.is(tok::less) && AllowMacroExpansion) { in LexHeaderName() 1002 bool StartOfLine = FilenameTok.isAtStartOfLine(); in LexHeaderName() 1003 bool LeadingSpace = FilenameTok.hasLeadingSpace(); in LexHeaderName() 1004 bool LeadingEmptyMacro = FilenameTok.hasLeadingEmptyMacro(); in LexHeaderName() 1006 SourceLocation Start = FilenameTok.getLocation(); in LexHeaderName() 1014 while (FilenameTok.isNot(tok::greater)) { in LexHeaderName() 1015 Lex(FilenameTok); in LexHeaderName() [all …]
|
D | PreprocessorLexer.cpp | 32 void PreprocessorLexer::LexIncludeFilename(Token &FilenameTok) { in LexIncludeFilename() argument 40 IndirectLex(FilenameTok); in LexIncludeFilename() 42 PP->Lex(FilenameTok); in LexIncludeFilename()
|
D | PPDirectives.cpp | 1682 Token FilenameTok; in HandleIncludeDirective() local 1683 if (LexHeaderName(FilenameTok)) in HandleIncludeDirective() 1686 if (FilenameTok.isNot(tok::header_name)) { in HandleIncludeDirective() 1687 Diag(FilenameTok.getLocation(), diag::err_pp_expects_filename); in HandleIncludeDirective() 1688 if (FilenameTok.isNot(tok::eod)) in HandleIncludeDirective() 1700 auto Action = HandleHeaderIncludeOrImport(HashLoc, IncludeTok, FilenameTok, in HandleIncludeDirective() 1727 const Token &FilenameTok, bool &IsFrameworkFound, bool IsImportDecl, in LookupHeaderIncludeOrImport() argument 1776 Diag(FilenameTok, diag::err_pp_file_not_found_angled_include_not_fatal) in LookupHeaderIncludeOrImport() 1811 Diag(FilenameTok, diag::err_pp_file_not_found_typo_not_fatal) in LookupHeaderIncludeOrImport() 1823 Diag(FilenameTok, diag::err_pp_file_not_found) in LookupHeaderIncludeOrImport() [all …]
|
D | Pragma.cpp | 496 Token FilenameTok; in HandlePragmaDependency() local 497 if (LexHeaderName(FilenameTok, /*AllowConcatenation*/false)) in HandlePragmaDependency() 501 if (FilenameTok.isNot(tok::header_name)) { in HandlePragmaDependency() 502 Diag(FilenameTok.getLocation(), diag::err_pp_expects_filename); in HandlePragmaDependency() 509 StringRef Filename = getSpelling(FilenameTok, FilenameBuffer, &Invalid); in HandlePragmaDependency() 514 GetIncludeFilenameSpelling(FilenameTok.getLocation(), Filename); in HandlePragmaDependency() 523 LookupFile(FilenameTok.getLocation(), Filename, isAngled, nullptr, in HandlePragmaDependency() 527 Diag(FilenameTok, diag::err_pp_file_not_found) << Filename; in HandlePragmaDependency() 546 Diag(FilenameTok, diag::pp_out_of_date_dependency) << Message; in HandlePragmaDependency()
|
/external/clang/include/clang/Lex/ |
D | PPCallbacks.h | 64 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/llvm-project/clang/include/clang/Lex/ |
D | PPCallbacks.h | 61 const Token &FilenameTok, in FileSkipped() argument 393 void FileSkipped(const FileEntryRef &SkippedFile, const Token &FilenameTok, in FileSkipped() argument 395 First->FileSkipped(SkippedFile, FilenameTok, FileType); in FileSkipped() 396 Second->FileSkipped(SkippedFile, FilenameTok, FileType); in FileSkipped()
|
D | PreprocessorLexer.h | 132 void LexIncludeFilename(Token &FilenameTok);
|
D | Preprocessor.h | 2261 const Token &FilenameTok, bool &IsFrameworkFound, bool IsImportDecl, 2273 Token &FilenameTok, SourceLocation EndLoc,
|
/external/llvm-project/clang-tools-extra/pp-trace/ |
D | PPCallbacksTracker.cpp | 117 const Token &FilenameTok, in FileSkipped() argument 121 appendArgument("FilenameTok", FilenameTok); in FileSkipped()
|
D | PPCallbacksTracker.h | 92 void FileSkipped(const FileEntryRef &SkippedFile, const Token &FilenameTok,
|
/external/llvm-project/clang-tools-extra/clangd/unittests/ |
D | ParsedASTTests.cpp | 385 void FileSkipped(const FileEntryRef &, const Token &FilenameTok, in TEST() 387 SkippedFiles.emplace_back(FilenameTok); in TEST()
|
/external/llvm-project/clang-tools-extra/clangd/index/ |
D | IndexAction.cpp | 107 void FileSkipped(const FileEntryRef &SkippedFile, const Token &FilenameTok, in FileSkipped()
|
/external/llvm-project/clang/lib/Frontend/ |
D | DependencyFile.cpp | 57 void FileSkipped(const FileEntryRef &SkippedFile, const Token &FilenameTok, in FileSkipped()
|
/external/llvm-project/clang/lib/Frontend/Rewrite/ |
D | InclusionRewriter.cpp | 75 void FileSkipped(const FileEntryRef &SkippedFile, const Token &FilenameTok,
|
/external/clang/lib/Frontend/Rewrite/ |
D | InclusionRewriter.cpp | 64 void FileSkipped(const FileEntry &SkippedFile, const Token &FilenameTok,
|
/external/llvm-project/clang-tools-extra/docs/ |
D | pp-trace.rst | 192 FilenameTok (token) const Token … 200 FilenameTok: "filename.h"
|