Home
last modified time | relevance | path

Searched refs:getPresumedLoc (Results 1 – 25 of 41) sorted by relevance

12

/llvm-project-15.0.7/clang/lib/ExtractAPI/
H A DExtractAPIConsumer.cpp266 Context.getSourceManager().getPresumedLoc(Decl->getLocation()); in VisitVarDecl()
327 Context.getSourceManager().getPresumedLoc(Decl->getLocation()); in VisitFunctionDecl()
368 Context.getSourceManager().getPresumedLoc(Decl->getLocation()); in VisitEnumDecl()
409 Context.getSourceManager().getPresumedLoc(Decl->getLocation()); in VisitRecordDecl()
443 Context.getSourceManager().getPresumedLoc(Decl->getLocation()); in VisitObjCInterfaceDecl()
490 Context.getSourceManager().getPresumedLoc(Decl->getLocation()); in VisitObjCProtocolDecl()
525 Context.getSourceManager().getPresumedLoc(Decl->getLocation()); in VisitTypedefNameDecl()
551 Context.getSourceManager().getPresumedLoc(Decl->getLocation()); in VisitObjCCategoryDecl()
647 Context.getSourceManager().getPresumedLoc(Field->getLocation()); in recordStructFields()
677 Context.getSourceManager().getPresumedLoc(Method->getLocation()); in recordObjCMethods()
[all …]
/llvm-project-15.0.7/clang/lib/Basic/
H A DSourceLocation.cpp69 PresumedLoc PLoc = SM.getPresumedLoc(*this); in print()
110 PresumedLoc PLoc = SM.getPresumedLoc(Loc); in PrintDifference()
179 PresumedLoc FullSourceLoc::getPresumedLoc(bool UseLineDirectives) const { in getPresumedLoc() function in FullSourceLoc
183 return SrcMgr->getPresumedLoc(*this, UseLineDirectives); in getPresumedLoc()
H A DSourceManager.cpp1248 PresumedLoc PLoc = getPresumedLoc(Loc); in getPresumedColumnNumber()
1453 PresumedLoc PLoc = getPresumedLoc(Loc); in getPresumedLineNumber()
1513 PresumedLoc SourceManager::getPresumedLoc(SourceLocation Loc, in getPresumedLoc() function in SourceManager
/llvm-project-15.0.7/clang/lib/Index/
H A DFileIndexRecord.cpp62 PresumedLoc PLoc = SM.getPresumedLoc(Loc); in print()
72 PresumedLoc PLoc = SM.getPresumedLoc(Loc); in print()
/llvm-project-15.0.7/clang-tools-extra/clang-doc/
H A DMapper.cpp87 return Context.getSourceManager().getPresumedLoc(D->getBeginLoc()).getLine(); in getLine()
95 .getPresumedLoc(D->getBeginLoc()) in getFile()
/llvm-project-15.0.7/clang/lib/AST/
H A DRawCommentList.cpp421 PresumedLoc Loc = SourceMgr.getPresumedLoc(Tok.getLocation()); in getFormattedLines()
457 SourceMgr.getPresumedLoc(Tok.getLocation().getLocWithOffset(SkipLen)); in getFormattedLines()
463 PresumedLoc End = SourceMgr.getPresumedLoc(Tok.getLocation()); in getFormattedLines()
472 PresumedLoc End = SourceMgr.getPresumedLoc(Tok.getLocation()); in getFormattedLines()
H A DJSONNodeDumper.cpp233 writeIncludeStack(SM.getPresumedLoc(Loc.getIncludeLoc())); in writeIncludeStack()
243 PresumedLoc Presumed = SM.getPresumedLoc(Loc); in writeBareSourceLocation()
275 writeIncludeStack(SM.getPresumedLoc(Presumed.getIncludeLoc()), in writeBareSourceLocation()
/llvm-project-15.0.7/clang/tools/arcmt-test/
H A Darcmt-test.cpp311 PresumedLoc PL = SM.getPresumedLoc(loc); in printSourceLocation()
323 PresumedLoc PL = SM.getPresumedLoc(range.getBegin()); in printSourceRange()
331 PL = SM.getPresumedLoc(end); in printSourceRange()
/llvm-project-15.0.7/clang-tools-extra/clangd/unittests/
H A DIncludeCleanerTests.cpp424 SM.getPresumedLoc(SM.getLocForStartOfFile(FID)).getFilename()); in TEST()
477 SM.getPresumedLoc(SM.getLocForStartOfFile(FID)).getFilename()); in TEST()
511 SM.getPresumedLoc(SM.getLocForStartOfFile(FID)).getFilename()); in TEST()
/llvm-project-15.0.7/clang/lib/Frontend/
H A DDiagnosticRenderer.cpp120 PresumedLoc PLoc = Loc.getPresumedLoc(DiagOpts->ShowPresumedLoc); in emitDiagnostic()
196 PresumedLoc PLoc = Loc.getPresumedLoc(DiagOpts->ShowPresumedLoc); in emitIncludeStackRecursively()
237 PresumedLoc PLoc = Loc.getPresumedLoc(DiagOpts->ShowPresumedLoc); in emitImportStackRecursively()
252 emitBuildingModuleLocation(I.second, I.second.getPresumedLoc( in emitModuleBuildStack()
H A DPrintPreprocessedOutput.cpp192 PresumedLoc PLoc = SM.getPresumedLoc(Tok.getLocation()); in MoveToLine()
202 PresumedLoc PLoc = SM.getPresumedLoc(Loc); in MoveToLine()
332 PresumedLoc UserLoc = SourceMgr.getPresumedLoc(Loc); in FileChanged()
1024 PresumedLoc PLoc = SourceMgr.getPresumedLoc(Tok.getLocation()); in DoPrintPreprocessedInput()
H A DLogDiagnosticPrinter.cpp144 PresumedLoc PLoc = SM.getPresumedLoc(Info.getLocation()); in HandleDiagnostic()
H A DHeaderIncludeGen.cpp137 PresumedLoc UserLoc = SM.getPresumedLoc(Loc); in FileChanged()
H A DSerializedDiagnosticPrinter.cpp221 AddLocToRecord(Loc, Loc.hasManager() ? Loc.getPresumedLoc() : PresumedLoc(), in AddLocToRecord()
736 PresumedLoc PLoc = Loc.hasManager() ? Loc.getPresumedLoc() : PresumedLoc(); in emitNote()
H A DFrontendActions.cpp585 TheSema.getSourceManager().getPresumedLoc(Inst.Entity->getLocation()); in getTemplightEntry()
591 TheSema.getSourceManager().getPresumedLoc(Inst.PointOfInstantiation); in getTemplightEntry()
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/utils/
H A DFileExtensionsUtils.cpp25 PresumedLoc PresumedLocation = SM.getPresumedLoc(Loc); in isPresumedLocInHeaderFile()
/llvm-project-15.0.7/clang/tools/libclang/
H A DCIndexInclusionStack.cpp50 PresumedLoc PLoc = SM.getPresumedLoc(L); in getInclusions()
H A DCXSourceLocation.cpp283 PresumedLoc PreLoc = SM.getPresumedLoc(Loc); in clang_getPresumedLocation()
/llvm-project-15.0.7/clang/include/clang/Basic/
H A DJsonSupport.h92 PresumedLoc PLoc = SM.getPresumedLoc(Loc);
H A DSourceManager.h1446 PresumedLoc getPresumedLoc(SourceLocation Loc,
1476 PresumedLoc Presumed = getPresumedLoc(Loc); in isWrittenInBuiltinFile()
1485 PresumedLoc Presumed = getPresumedLoc(Loc); in isWrittenInCommandLineFile()
1494 PresumedLoc Presumed = getPresumedLoc(Loc); in isWrittenInScratchSpace()
H A DSourceLocation.h392 PresumedLoc getPresumedLoc(bool UseLineDirectives = true) const;
/llvm-project-15.0.7/clang/lib/StaticAnalyzer/Checkers/
H A DAnalyzerStatsChecker.cpp92 PresumedLoc Loc = SM.getPresumedLoc(D->getLocation()); in checkEndAnalysis()
/llvm-project-15.0.7/clang/lib/Lex/
H A DPPMacroExpansion.cpp1512 PresumedLoc PLoc = SourceMgr.getPresumedLoc(Loc); in ExpandBuiltinMacro()
1521 PresumedLoc PLoc = SourceMgr.getPresumedLoc(Tok.getLocation()); in ExpandBuiltinMacro()
1528 PLoc = SourceMgr.getPresumedLoc(NextLoc); in ExpandBuiltinMacro()
1582 PresumedLoc PLoc = SourceMgr.getPresumedLoc(Tok.getLocation()); in ExpandBuiltinMacro()
1584 PLoc = SourceMgr.getPresumedLoc(PLoc.getIncludeLoc()); in ExpandBuiltinMacro()
1586 PLoc = SourceMgr.getPresumedLoc(PLoc.getIncludeLoc()); in ExpandBuiltinMacro()
/llvm-project-15.0.7/clang-tools-extra/pp-trace/
H A DPPCallbacksTracker.cpp31 PresumedLoc PLoc = PP.getSourceManager().getPresumedLoc(Loc); in getSourceLocationString()
/llvm-project-15.0.7/clang/lib/StaticAnalyzer/Frontend/
H A DAnalysisConsumer.cpp199 PresumedLoc Loc = SM.getPresumedLoc(D->getLocation()); in DisplayFunction()

12