Home
last modified time | relevance | path

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

12

/llvm-project/clang/include/clang/ExtractAPI/
H A DExtractAPIVisitor.h300 Context.getSourceManager().getPresumedLoc(Decl->getLocation()); in VisitVarDecl()
373 Context.getSourceManager().getPresumedLoc(Decl->getLocation()); in VisitFunctionDecl()
411 Context.getSourceManager().getPresumedLoc(Decl->getLocation()); in VisitEnumDecl()
542 Context.getSourceManager().getPresumedLoc(Decl->getLocation()); in VisitNamespaceDecl()
588 Context.getSourceManager().getPresumedLoc(Decl->getLocation());
643 Context.getSourceManager().getPresumedLoc(Decl->getLocation()); in VisitCXXMethodDecl()
696 Context.getSourceManager().getPresumedLoc(Decl->getLocation()); in VisitCXXMethodDecl()
757 Context.getSourceManager().getPresumedLoc(Decl->getLocation()); in VisitCXXDestructorDecl()
791 Context.getSourceManager().getPresumedLoc(Decl->getLocation()); in VisitConceptDecl()
822 Context.getSourceManager().getPresumedLoc(Dec in VisitClassTemplateSpecializationDecl()
[all...]
/llvm-project/clang/lib/Basic/
H A DSourceLocation.cpp69 PresumedLoc PLoc = SM.getPresumedLoc(*this); in print()
110 PresumedLoc PLoc = SM.getPresumedLoc(Loc); in PrintDifference()
183 PresumedLoc FullSourceLoc::getPresumedLoc(bool UseLineDirectives) const { in getPresumedLoc() function in FullSourceLoc
187 return SrcMgr->getPresumedLoc(*this, UseLineDirectives); in getPresumedLoc()
/llvm-project/clang/lib/Index/
H A DFileIndexRecord.cpp60 PresumedLoc PLoc = SM.getPresumedLoc(Loc); in print()
70 PresumedLoc PLoc = SM.getPresumedLoc(Loc); in print()
/llvm-project/clang-tools-extra/clang-doc/
H A DMapper.cpp121 return Context.getSourceManager().getPresumedLoc(D->getBeginLoc()).getLine();
129 .getPresumedLoc(D->getBeginLoc())
/llvm-project/clang/lib/AST/
H A DRawCommentList.cpp419 PresumedLoc Loc = SourceMgr.getPresumedLoc(Tok.getLocation()); in getFormattedLines()
455 SourceMgr.getPresumedLoc(Tok.getLocation().getLocWithOffset(SkipLen)); in getFormattedLines()
461 PresumedLoc End = SourceMgr.getPresumedLoc(Tok.getLocation()); in getFormattedLines()
470 PresumedLoc End = SourceMgr.getPresumedLoc(Tok.getLocation()); in getFormattedLines()
H A DJSONNodeDumper.cpp268 writeIncludeStack(SM.getPresumedLoc(Loc.getIncludeLoc())); in writeIncludeStack()
278 PresumedLoc Presumed = SM.getPresumedLoc(Loc); in writeBareSourceLocation()
310 writeIncludeStack(SM.getPresumedLoc(Presumed.getIncludeLoc()), in writeBareSourceLocation()
/llvm-project/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/clang/lib/Frontend/
H A DDiagnosticRenderer.cpp118 PresumedLoc PLoc = Loc.getPresumedLoc(DiagOpts->ShowPresumedLoc); in emitDiagnostic()
194 PresumedLoc PLoc = Loc.getPresumedLoc(DiagOpts->ShowPresumedLoc); in emitIncludeStackRecursively()
235 PresumedLoc PLoc = Loc.getPresumedLoc(DiagOpts->ShowPresumedLoc); in emitImportStackRecursively()
250 emitBuildingModuleLocation(I.second, I.second.getPresumedLoc( in emitModuleBuildStack()
H A DHeaderIncludeGen.cpp211 PresumedLoc UserLoc = SM.getPresumedLoc(Loc); in FileChanged()
305 PresumedLoc UserLoc = SM.getPresumedLoc(Loc); in FileChanged()
H A DPrintPreprocessedOutput.cpp210 PresumedLoc PLoc = SM.getPresumedLoc(Tok.getLocation()); in MoveToLine()
220 PresumedLoc PLoc = SM.getPresumedLoc(Loc); in MoveToLine()
353 PresumedLoc UserLoc = SourceMgr.getPresumedLoc(Loc); in FileChanged()
1142 PresumedLoc PLoc = SourceMgr.getPresumedLoc(Tok.getLocation()); in DoPrintPreprocessedInput()
H A DLogDiagnosticPrinter.cpp145 PresumedLoc PLoc = SM.getPresumedLoc(Info.getLocation()); in HandleDiagnostic()
H A DSerializedDiagnosticPrinter.cpp219 AddLocToRecord(Loc, Loc.hasManager() ? Loc.getPresumedLoc() : PresumedLoc(), in AddLocToRecord()
736 PresumedLoc PLoc = Loc.hasManager() ? Loc.getPresumedLoc() : PresumedLoc(); in emitNote()
H A DFrontendActions.cpp566 TheSema.getSourceManager().getPresumedLoc(Inst.Entity->getLocation()); in getTemplightEntry()
572 TheSema.getSourceManager().getPresumedLoc(Inst.PointOfInstantiation); in getTemplightEntry()
H A DTextDiagnostic.cpp1327 unsigned DisplayLineNo = Loc.getPresumedLoc().getLine(); in emitSnippetAndCaret()
1533 PresumedLoc PLoc = SM.getPresumedLoc(BLoc); in emitParseableFixits()
/llvm-project/clang-tools-extra/clang-tidy/utils/
H A DFileExtensionsUtils.cpp24 PresumedLoc PresumedLocation = SM.getPresumedLoc(Loc); in isPresumedLocInHeaderFile()
/llvm-project/clang/tools/libclang/
H A DCIndexInclusionStack.cpp51 PresumedLoc PLoc = SM.getPresumedLoc(L); in getInclusions()
H A DCXSourceLocation.cpp296 PresumedLoc PreLoc = SM.getPresumedLoc(Loc); in clang_getInstantiationLocation()
/llvm-project/clang/include/clang/Basic/
H A DJsonSupport.h92 PresumedLoc PLoc = SM.getPresumedLoc(Loc);
H A DSourceManager.h1449 /// getPresumedLoc for normal clients.
1477 PresumedLoc getPresumedLoc(SourceLocation Loc,
1507 PresumedLoc Presumed = getPresumedLoc(Loc); in isWrittenInBuiltinFile()
1516 PresumedLoc Presumed = getPresumedLoc(Loc); in isWrittenInCommandLineFile()
1525 PresumedLoc Presumed = getPresumedLoc(Loc); in isWrittenInScratchSpace()
H A DSourceLocation.h393 PresumedLoc getPresumedLoc(bool UseLineDirectives = true) const;
/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DAnalyzerStatsChecker.cpp93 PresumedLoc Loc = SM.getPresumedLoc(D->getLocation()); in checkEndAnalysis()
/llvm-project/clang/lib/Lex/
H A DPPMacroExpansion.cpp1669 PresumedLoc PLoc = SourceMgr.getPresumedLoc(Loc); in ExpandBuiltinMacro()
1678 PresumedLoc PLoc = SourceMgr.getPresumedLoc(Tok.getLocation()); in ExpandBuiltinMacro()
1685 PLoc = SourceMgr.getPresumedLoc(NextLoc); in ExpandBuiltinMacro()
1733 PresumedLoc PLoc = SourceMgr.getPresumedLoc(Tok.getLocation()); in ExpandBuiltinMacro()
1735 PLoc = SourceMgr.getPresumedLoc(PLoc.getIncludeLoc()); in ExpandBuiltinMacro()
1737 PLoc = SourceMgr.getPresumedLoc(PLoc.getIncludeLoc()); in ExpandBuiltinMacro()
/llvm-project/clang/lib/ExtractAPI/
H A DExtractAPIConsumer.cpp323 PresumedLoc Loc = SM.getPresumedLoc(DefLoc); in EndOfMainFile()
/llvm-project/clang-tools-extra/pp-trace/
H A DPPCallbacksTracker.cpp31 PresumedLoc PLoc = PP.getSourceManager().getPresumedLoc(Loc); in getSourceLocationString()
/llvm-project/clang/lib/StaticAnalyzer/Frontend/
H A DAnalysisConsumer.cpp201 PresumedLoc Loc = SM.getPresumedLoc(D->getLocation()); in DisplayFunction()

12