/external/llvm-project/clang-tools-extra/clang-tidy/portability/ |
D | RestrictSystemIncludesCheck.cpp | 24 SourceLocation HashLoc, const Token &IncludeTok, StringRef FileName, in InclusionDirective() argument 34 IncludeDirectives[SM.getFileID(HashLoc)].emplace_back( in InclusionDirective() 35 HashLoc, FilenameRange, FileName, FullPath.str(), in InclusionDirective() 36 SM.isInMainFile(HashLoc)); in InclusionDirective()
|
D | RestrictSystemIncludesCheck.h | 51 void InclusionDirective(SourceLocation HashLoc, const Token &IncludeTok,
|
/external/llvm-project/clang-tools-extra/clangd/ |
D | Headers.cpp | 34 void InclusionDirective(SourceLocation HashLoc, const Token &IncludeTok, in InclusionDirective() argument 44 HashLoc = translatePreamblePatchLocation(HashLoc, SM); in InclusionDirective() 48 if (isInsideMainFile(HashLoc, SM)) { in InclusionDirective() 54 Inc.HashOffset = SM.getFileOffset(HashLoc); in InclusionDirective() 56 SM.getLineNumber(SM.getFileID(HashLoc), Inc.HashOffset) - 1; in InclusionDirective() 63 auto *IncludingFileEntry = SM.getFileEntryForID(SM.getFileID(HashLoc)); in InclusionDirective() 65 assert(SM.getBufferName(HashLoc).startswith("<") && in InclusionDirective()
|
/external/llvm-project/clang-tools-extra/clang-tidy/llvmlibc/ |
D | RestrictSystemLibcHeadersCheck.cpp | 34 void InclusionDirective(SourceLocation HashLoc, const Token &IncludeTok, 48 SourceLocation HashLoc, const Token &IncludeTok, StringRef FileName, in InclusionDirective() argument 56 HashLoc, IncludeTok, FileName, IsAngled, FilenameRange, File, SearchPath, in InclusionDirective()
|
/external/llvm-project/clang-tools-extra/clang-tidy/altera/ |
D | KernelNameRestrictionCheck.cpp | 30 void InclusionDirective(SourceLocation HashLoc, const Token &IncludeTok, 64 SourceLocation HashLoc, const Token &, StringRef FileName, bool, in InclusionDirective() argument 67 IncludeDirective ID = {HashLoc, FileName}; in InclusionDirective()
|
/external/llvm-project/clang-tools-extra/clang-tidy/modernize/ |
D | DeprecatedHeadersCheck.cpp | 28 void InclusionDirective(SourceLocation HashLoc, const Token &IncludeTok, 93 SourceLocation HashLoc, const Token &IncludeTok, StringRef FileName, in InclusionDirective() argument 116 SourceRange(HashLoc, FilenameRange.getEnd())); in InclusionDirective()
|
/external/llvm-project/clang-tools-extra/clang-tidy/llvm/ |
D | IncludeOrderCheck.cpp | 27 void InclusionDirective(SourceLocation HashLoc, const Token &IncludeTok, 79 SourceLocation HashLoc, const Token &IncludeTok, StringRef FileName, in InclusionDirective() argument 85 IncludeDirective ID = {HashLoc, FilenameRange, std::string(FileName), in InclusionDirective() 93 IncludeDirectives[SM.getFileID(HashLoc)].push_back(std::move(ID)); in InclusionDirective()
|
/external/clang/lib/Frontend/ |
D | DependencyGraph.cpp | 49 void InclusionDirective(SourceLocation HashLoc, const Token &IncludeTok, 68 void DependencyGraphCallback::InclusionDirective(SourceLocation HashLoc, in InclusionDirective() argument 82 = SM.getFileEntryForID(SM.getFileID(SM.getExpansionLoc(HashLoc))); in InclusionDirective()
|
D | DependencyFile.cpp | 62 void InclusionDirective(SourceLocation HashLoc, const Token &IncludeTok, in InclusionDirective() 188 void InclusionDirective(SourceLocation HashLoc, const Token &IncludeTok, 294 void DFGImpl::InclusionDirective(SourceLocation HashLoc, in InclusionDirective() argument
|
/external/llvm-project/clang/lib/Frontend/ |
D | DependencyGraph.cpp | 48 void InclusionDirective(SourceLocation HashLoc, const Token &IncludeTok, 69 SourceLocation HashLoc, in InclusionDirective() argument 84 = SM.getFileEntryForID(SM.getFileID(SM.getExpansionLoc(HashLoc))); in InclusionDirective()
|
D | PrintPreprocessedOutput.cpp | 128 void InclusionDirective(SourceLocation HashLoc, const Token &IncludeTok, 326 SourceLocation HashLoc, in InclusionDirective() argument 340 MoveToLine(HashLoc); in InclusionDirective() 357 MoveToLine(HashLoc); in InclusionDirective()
|
/external/clang/unittests/Lex/ |
D | PPCallbacksTest.cpp | 56 void InclusionDirective(SourceLocation HashLoc, const Token &IncludeTok, in InclusionDirective() argument 61 this->HashLoc = HashLoc; in InclusionDirective() 72 SourceLocation HashLoc; member in __anon701ea7170111::InclusionDirectiveCallbacks
|
/external/llvm-project/clang/lib/Lex/ |
D | PPDirectives.cpp | 373 SourceLocation HashLoc) { in getSkippedRangeForExcludedConditionalBlock() argument 376 if (!HashLoc.isFileID()) in getSkippedRangeForExcludedConditionalBlock() 380 SourceMgr.getDecomposedLoc(HashLoc); in getSkippedRangeForExcludedConditionalBlock() 878 SourceLocation HashLoc) { in HandleSkippedDirectiveWhileUsingPCH() argument 886 return HandleIncludeDirective(HashLoc, Result); in HandleSkippedDirectiveWhileUsingPCH() 1566 Preprocessor &PP, SourceLocation HashLoc, Token &IncludeTok, in diagnoseAutoModuleImport() argument 1606 CharSourceRange ReplaceRange(SourceRange(HashLoc, PathEnd), in diagnoseAutoModuleImport() 1608 PP.Diag(HashLoc, diag::warn_auto_module_import) in diagnoseAutoModuleImport() 1678 void Preprocessor::HandleIncludeDirective(SourceLocation HashLoc, in HandleIncludeDirective() argument 1700 auto Action = HandleHeaderIncludeOrImport(HashLoc, IncludeTok, FilenameTok, in HandleIncludeDirective() [all …]
|
/external/llvm-project/clang-tools-extra/clang-tidy/bugprone/ |
D | SuspiciousIncludeCheck.cpp | 25 void InclusionDirective(SourceLocation HashLoc, const Token &IncludeTok, 74 SourceLocation HashLoc, const Token &IncludeTok, StringRef FileName, in InclusionDirective() argument
|
/external/clang/lib/Lex/ |
D | PPDirectives.cpp | 1599 Preprocessor &PP, SourceLocation HashLoc, Token &IncludeTok, in diagnoseAutoModuleImport() argument 1633 CharSourceRange ReplaceRange(SourceRange(HashLoc, PathEnd), in diagnoseAutoModuleImport() 1635 PP.Diag(HashLoc, diag::warn_auto_module_import) in diagnoseAutoModuleImport() 1679 void Preprocessor::HandleIncludeDirective(SourceLocation HashLoc, in HandleIncludeDirective() argument 1746 Diag(HashLoc, diag::err_pp_include_in_arc_cf_code_audited); in HandleIncludeDirective() 1755 Diag(HashLoc, diag::err_pp_include_in_assume_nonnull); in HandleIncludeDirective() 1889 diagnoseAutoModuleImport(*this, HashLoc, IncludeTok, Path, CharEnd); in HandleIncludeDirective() 1930 HashLoc, IncludeTok, in HandleIncludeDirective() 1996 makeModuleVisible(M, HashLoc); in HandleIncludeDirective() 2000 EnterAnnotationToken(*this, HashLoc, End, tok::annot_module_include, M); in HandleIncludeDirective() [all …]
|
/external/clang/include/clang/Lex/ |
D | PPCallbacks.h | 122 virtual void InclusionDirective(SourceLocation HashLoc, in InclusionDirective() argument 353 void InclusionDirective(SourceLocation HashLoc, const Token &IncludeTok, in InclusionDirective() argument 358 First->InclusionDirective(HashLoc, IncludeTok, FileName, IsAngled, in InclusionDirective() 361 Second->InclusionDirective(HashLoc, IncludeTok, FileName, IsAngled, in InclusionDirective()
|
/external/llvm-project/clang/lib/CodeGen/ |
D | MacroPPCallbacks.cpp | 169 SourceLocation HashLoc, const Token &IncludeTok, StringRef FileName, in InclusionDirective() argument 175 LastHashLoc = HashLoc; in InclusionDirective()
|
D | MacroPPCallbacks.h | 102 void InclusionDirective(SourceLocation HashLoc, const Token &IncludeTok,
|
/external/llvm-project/clang/unittests/Lex/ |
D | PPCallbacksTest.cpp | 36 void InclusionDirective(SourceLocation HashLoc, const Token &IncludeTok, in InclusionDirective() argument 42 this->HashLoc = HashLoc; in InclusionDirective() 54 SourceLocation HashLoc; member in __anon51328c050111::InclusionDirectiveCallbacks
|
/external/llvm-project/clang/include/clang/Lex/ |
D | PPCallbacks.h | 122 virtual void InclusionDirective(SourceLocation HashLoc, in InclusionDirective() argument 405 void InclusionDirective(SourceLocation HashLoc, const Token &IncludeTok, in InclusionDirective() argument 411 First->InclusionDirective(HashLoc, IncludeTok, FileName, IsAngled, in InclusionDirective() 414 Second->InclusionDirective(HashLoc, IncludeTok, FileName, IsAngled, in InclusionDirective()
|
D | Preprocessor.h | 1314 SourceLocation HashLoc); 2268 void HandleIncludeDirective(SourceLocation HashLoc, Token &Tok, 2272 HandleHeaderIncludeOrImport(SourceLocation HashLoc, Token &IncludeTok, 2276 void HandleIncludeNextDirective(SourceLocation HashLoc, Token &Tok); 2277 void HandleIncludeMacrosDirective(SourceLocation HashLoc, Token &Tok); 2278 void HandleImportDirective(SourceLocation HashLoc, Token &Tok); 2383 getSkippedRangeForExcludedConditionalBlock(SourceLocation HashLoc);
|
/external/llvm-project/clang/lib/Frontend/Rewrite/ |
D | InclusionRewriter.cpp | 77 void InclusionDirective(SourceLocation HashLoc, const Token &IncludeTok, 189 void InclusionRewriter::InclusionDirective(SourceLocation HashLoc, in InclusionDirective() argument 200 auto P = ModuleIncludes.insert(std::make_pair(HashLoc, Imported)); in InclusionDirective() 204 LastInclusionLocation = HashLoc; in InclusionDirective()
|
/external/llvm-project/clang-tools-extra/clangd/unittests/ |
D | ParsedASTTests.cpp | 356 Inclusion(const SourceManager &SM, SourceLocation HashLoc, in TEST() 359 : HashOffset(SM.getDecomposedLoc(HashLoc).second), IncTok(IncludeTok), in TEST() 376 void InclusionDirective(SourceLocation HashLoc, const Token &IncludeTok, in TEST() 381 Includes.emplace_back(SM, HashLoc, IncludeTok, FileName, IsAngled, in TEST()
|
/external/clang/lib/Frontend/Rewrite/ |
D | InclusionRewriter.cpp | 66 void InclusionDirective(SourceLocation HashLoc, const Token &IncludeTok, 173 void InclusionRewriter::InclusionDirective(SourceLocation HashLoc, in InclusionDirective() argument 187 std::make_pair(HashLoc.getRawEncoding(), Imported)); in InclusionDirective() 191 LastInclusionLocation = HashLoc; in InclusionDirective()
|
/external/llvm-project/clang-tools-extra/clangd/index/ |
D | IndexAction.cpp | 86 void InclusionDirective(SourceLocation HashLoc, const Token &IncludeTok, in InclusionDirective() 96 auto IncludingURI = toURI(SM.getFileEntryForID(SM.getFileID(HashLoc))); in InclusionDirective()
|