Home
last modified time | relevance | path

Searched refs:getIncludeLoc (Results 1 – 25 of 27) sorted by relevance

12

/llvm-project-15.0.7/clang/tools/libclang/
H A DCIndexInclusionStack.cpp43 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 DPathConfig.cpp30 Loc = SM.getIncludeLoc(ID); in getIncludePath()
/llvm-project-15.0.7/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DAnalysisManager.h133 SourceLocation IL = SM.getIncludeLoc(SM.getFileID(SL)); in isInCodeFile()
/llvm-project-15.0.7/clang/lib/Basic/
H A DSourceManager.cpp1545 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 DDiagnosticRenderer.cpp169 : FullSourceLoc(PLoc.getIncludeLoc(), Loc.getManager()); in emitIncludeStack()
212 FullSourceLoc(PLoc.getIncludeLoc(), Loc.getManager())); in emitIncludeStackRecursively()
H A DPrintPreprocessedOutput.cpp339 SourceLocation IncludeLoc = UserLoc.getIncludeLoc(); in FileChanged()
/llvm-project-15.0.7/clang-tools-extra/clangd/
H A DSelection.cpp375 : 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 DIncludeCleaner.cpp320 ID = SM.getFileID(SM.getIncludeLoc(ID)); in headerResponsible()
H A DPreamble.cpp752 auto IncludeLoc = SM.getIncludeLoc(DefFile); in translatePreamblePatchLocation()
H A DDiagnostics.cpp170 return SM.getIncludeLoc(SM.getFileID(SLoc)); in getMainFileRange()
H A DSourceCode.cpp260 SM.getDecomposedExpansionLoc(SM.getIncludeLoc(IncludedFile)); in includeHashLoc()
/llvm-project-15.0.7/clang/include/clang/Basic/
H A DSourceManager.h320 SourceLocation getIncludeLoc() const { in getIncludeLoc() function
1140 SourceLocation getIncludeLoc(FileID FID) const { in getIncludeLoc() function
1142 return Entry->getFile().getIncludeLoc(); in getIncludeLoc()
H A DSourceLocation.h353 SourceLocation getIncludeLoc() const {
/llvm-project-15.0.7/clang/lib/Lex/
H A DPPMacroExpansion.cpp1526 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 DPPLexerChange.cpp450 (SourceMgr.getIncludeLoc(CurPPLexer->getFileID()).isValid() || in HandleEndOfFile()
H A DPPDirectives.cpp940 Loc = SM.getIncludeLoc(ID); in getHeaderToIncludeForDiagnostics()
1501 SourceLocation IncLoc = PLoc.getIncludeLoc(); in ReadLineMarkerFlags()
/llvm-project-15.0.7/clang/lib/AST/
H A DJSONNodeDumper.cpp233 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 DSemaModule.cpp665 DirectiveLoc = getSourceManager().getIncludeLoc(File); in ActOnModuleEnd()
H A DSema.cpp149 SourceLocation IncludeLoc = SM.getIncludeLoc(SM.getFileID(Loc)); in FileChanged()
H A DSemaDecl.cpp4709 SourceLocation OldIncLoc = SrcMgr.getIncludeLoc(FOldDecLoc.first); in notePreviousDefinition()
4710 SourceLocation NewIncLoc = SrcMgr.getIncludeLoc(FNewDecLoc.first); in notePreviousDefinition()
H A DSemaType.cpp4298 if (fileInfo.getIncludeLoc().isInvalid()) in getNullabilityCompletenessCheckFileID()
/llvm-project-15.0.7/clang-tools-extra/clangd/index/
H A DSymbolCollector.cpp428 return getIncludeHeaderUncached(SM.getFileID(SM.getIncludeLoc(FID))); in getIncludeHeaderUncached()
/llvm-project-15.0.7/clang/lib/CodeGen/
H A DCoverageMappingGen.cpp252 : SM.getIncludeLoc(SM.getFileID(Loc)); in getIncludeOrExpansionLoc()
/llvm-project-15.0.7/clang/lib/Serialization/
H A DASTWriter.cpp1573 File.getIncludeLoc().isInvalid(); in WriteInputFiles()
2083 AddSourceLocation(File.getIncludeLoc(), Record); in WriteSourceManagerBlock()
/llvm-project-15.0.7/clang/unittests/AST/
H A DASTImporterTest.cpp6609 EXPECT_EQ(ToSM.getIncludeLoc(FileID1), FileStart); in TEST_P()
6610 EXPECT_EQ(ToSM.getIncludeLoc(FileID2), FileStart); in TEST_P()

12