| /llvm-project-15.0.7/clang/tools/libclang/ |
| H A D | CIndexInclusionStack.cpp | 43 SourceLocation L = FI.getIncludeLoc(); in getInclusions() 52 L = PLoc.isValid()? PLoc.getIncludeLoc() : SourceLocation(); in getInclusions()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-include-fixer/find-all-symbols/ |
| H A D | PathConfig.cpp | 30 Loc = SM.getIncludeLoc(ID); in getIncludePath()
|
| /llvm-project-15.0.7/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
| H A D | AnalysisManager.h | 133 SourceLocation IL = SM.getIncludeLoc(SM.getFileID(SL)); in isInCodeFile()
|
| /llvm-project-15.0.7/clang/lib/Basic/ |
| H A D | SourceManager.cpp | 1545 SourceLocation IncludeLoc = FI.getIncludeLoc(); in getPresumedLoc() 1608 return FI.getIncludeLoc().isInvalid(); in isInMainFile() 1782 SourceLocation IncludeLoc = File.getIncludeLoc(); in computeMacroArgsCache() 1962 UpperLoc = Entry.getFile().getIncludeLoc(); in getDecomposedIncludedLoc() 2166 if (FI.getIncludeLoc().isValid()) in dump() 2167 out << " included from " << FI.getIncludeLoc().getOffset() << "\n"; in dump()
|
| /llvm-project-15.0.7/clang/lib/Frontend/ |
| H A D | DiagnosticRenderer.cpp | 169 : FullSourceLoc(PLoc.getIncludeLoc(), Loc.getManager()); in emitIncludeStack() 212 FullSourceLoc(PLoc.getIncludeLoc(), Loc.getManager())); in emitIncludeStackRecursively()
|
| H A D | PrintPreprocessedOutput.cpp | 339 SourceLocation IncludeLoc = UserLoc.getIncludeLoc(); in FileChanged()
|
| /llvm-project-15.0.7/clang-tools-extra/clangd/ |
| H A D | Selection.cpp | 375 : SM.getIncludeLoc(SM.getFileID(Loc)); in computeMaybeSelectedExpandedTokens() 384 : SM.getIncludeLoc(SM.getFileID(Loc)); in computeMaybeSelectedExpandedTokens() 446 Loc = SM.getIncludeLoc(SM.getFileID(Loc))) { in testChunk()
|
| H A D | IncludeCleaner.cpp | 320 ID = SM.getFileID(SM.getIncludeLoc(ID)); in headerResponsible()
|
| H A D | Preamble.cpp | 752 auto IncludeLoc = SM.getIncludeLoc(DefFile); in translatePreamblePatchLocation()
|
| H A D | Diagnostics.cpp | 170 return SM.getIncludeLoc(SM.getFileID(SLoc)); in getMainFileRange()
|
| H A D | SourceCode.cpp | 260 SM.getDecomposedExpansionLoc(SM.getIncludeLoc(IncludedFile)); in includeHashLoc()
|
| /llvm-project-15.0.7/clang/include/clang/Basic/ |
| H A D | SourceManager.h | 320 SourceLocation getIncludeLoc() const { in getIncludeLoc() function 1140 SourceLocation getIncludeLoc(FileID FID) const { in getIncludeLoc() function 1142 return Entry->getFile().getIncludeLoc(); in getIncludeLoc()
|
| H A D | SourceLocation.h | 353 SourceLocation getIncludeLoc() const {
|
| /llvm-project-15.0.7/clang/lib/Lex/ |
| H A D | PPMacroExpansion.cpp | 1526 SourceLocation NextLoc = PLoc.getIncludeLoc(); in ExpandBuiltinMacro() 1532 NextLoc = PLoc.getIncludeLoc(); in ExpandBuiltinMacro() 1584 PLoc = SourceMgr.getPresumedLoc(PLoc.getIncludeLoc()); in ExpandBuiltinMacro() 1586 PLoc = SourceMgr.getPresumedLoc(PLoc.getIncludeLoc()); in ExpandBuiltinMacro()
|
| H A D | PPLexerChange.cpp | 450 (SourceMgr.getIncludeLoc(CurPPLexer->getFileID()).isValid() || in HandleEndOfFile()
|
| H A D | PPDirectives.cpp | 940 Loc = SM.getIncludeLoc(ID); in getHeaderToIncludeForDiagnostics() 1501 SourceLocation IncLoc = PLoc.getIncludeLoc(); in ReadLineMarkerFlags()
|
| /llvm-project-15.0.7/clang/lib/AST/ |
| H A D | JSONNodeDumper.cpp | 233 writeIncludeStack(SM.getPresumedLoc(Loc.getIncludeLoc())); in writeIncludeStack() 275 writeIncludeStack(SM.getPresumedLoc(Presumed.getIncludeLoc()), in writeBareSourceLocation()
|
| /llvm-project-15.0.7/clang/lib/Sema/ |
| H A D | SemaModule.cpp | 665 DirectiveLoc = getSourceManager().getIncludeLoc(File); in ActOnModuleEnd()
|
| H A D | Sema.cpp | 149 SourceLocation IncludeLoc = SM.getIncludeLoc(SM.getFileID(Loc)); in FileChanged()
|
| H A D | SemaDecl.cpp | 4709 SourceLocation OldIncLoc = SrcMgr.getIncludeLoc(FOldDecLoc.first); in notePreviousDefinition() 4710 SourceLocation NewIncLoc = SrcMgr.getIncludeLoc(FNewDecLoc.first); in notePreviousDefinition()
|
| H A D | SemaType.cpp | 4298 if (fileInfo.getIncludeLoc().isInvalid()) in getNullabilityCompletenessCheckFileID()
|
| /llvm-project-15.0.7/clang-tools-extra/clangd/index/ |
| H A D | SymbolCollector.cpp | 428 return getIncludeHeaderUncached(SM.getFileID(SM.getIncludeLoc(FID))); in getIncludeHeaderUncached()
|
| /llvm-project-15.0.7/clang/lib/CodeGen/ |
| H A D | CoverageMappingGen.cpp | 252 : SM.getIncludeLoc(SM.getFileID(Loc)); in getIncludeOrExpansionLoc()
|
| /llvm-project-15.0.7/clang/lib/Serialization/ |
| H A D | ASTWriter.cpp | 1573 File.getIncludeLoc().isInvalid(); in WriteInputFiles() 2083 AddSourceLocation(File.getIncludeLoc(), Record); in WriteSourceManagerBlock()
|
| /llvm-project-15.0.7/clang/unittests/AST/ |
| H A D | ASTImporterTest.cpp | 6609 EXPECT_EQ(ToSM.getIncludeLoc(FileID1), FileStart); in TEST_P() 6610 EXPECT_EQ(ToSM.getIncludeLoc(FileID2), FileStart); in TEST_P()
|