reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

tools/clang/include/clang/AST/JSONNodeDumper.h
  144   void writeIncludeStack(PresumedLoc Loc, bool JustFirst = false);
tools/clang/include/clang/Basic/JsonSupport.h
   91     PresumedLoc PLoc = SM.getPresumedLoc(Loc);
tools/clang/include/clang/Basic/SourceLocation.h
  372   PresumedLoc getPresumedLoc(bool UseLineDirectives = true) const;
tools/clang/include/clang/Basic/SourceManager.h
 1445   PresumedLoc getPresumedLoc(SourceLocation Loc,
tools/clang/include/clang/Frontend/DiagnosticRenderer.h
   76   virtual void emitDiagnosticMessage(FullSourceLoc Loc, PresumedLoc PLoc,
   82   virtual void emitDiagnosticLoc(FullSourceLoc Loc, PresumedLoc PLoc,
   91   virtual void emitIncludeLocation(FullSourceLoc Loc, PresumedLoc PLoc) = 0;
   92   virtual void emitImportLocation(FullSourceLoc Loc, PresumedLoc PLoc,
   94   virtual void emitBuildingModuleLocation(FullSourceLoc Loc, PresumedLoc PLoc,
  104   void emitIncludeStack(FullSourceLoc Loc, PresumedLoc PLoc,
  150   void emitIncludeLocation(FullSourceLoc Loc, PresumedLoc PLoc) override;
  152   void emitImportLocation(FullSourceLoc Loc, PresumedLoc PLoc,
  155   void emitBuildingModuleLocation(FullSourceLoc Loc, PresumedLoc PLoc,
tools/clang/include/clang/Frontend/TextDiagnostic.h
   77   void emitDiagnosticMessage(FullSourceLoc Loc, PresumedLoc PLoc,
   82   void emitDiagnosticLoc(FullSourceLoc Loc, PresumedLoc PLoc,
   92   void emitIncludeLocation(FullSourceLoc Loc, PresumedLoc PLoc) override;
   94   void emitImportLocation(FullSourceLoc Loc, PresumedLoc PLoc,
   97   void emitBuildingModuleLocation(FullSourceLoc Loc, PresumedLoc PLoc,
tools/clang/lib/AST/Expr.cpp
 2187   PresumedLoc PLoc = Ctx.getSourceManager().getPresumedLoc(
tools/clang/lib/AST/JSONNodeDumper.cpp
  183 void JSONNodeDumper::writeIncludeStack(PresumedLoc Loc, bool JustFirst) {
  202   PresumedLoc Presumed = SM.getPresumedLoc(Loc);
tools/clang/lib/AST/TextNodeDumper.cpp
  350   PresumedLoc PLoc = SM->getPresumedLoc(SpellingLoc);
tools/clang/lib/AST/TypePrinter.cpp
 1187       PresumedLoc PLoc = D->getASTContext().getSourceManager().getPresumedLoc(
tools/clang/lib/Basic/SourceLocation.cpp
   50     PresumedLoc PLoc = SM.getPresumedLoc(*this);
   87 static PresumedLoc PrintDifference(raw_ostream &OS, const SourceManager &SM,
   88                                    SourceLocation Loc, PresumedLoc Previous) {
   91     PresumedLoc PLoc = SM.getPresumedLoc(Loc);
  109   auto PrintedLoc = PrintDifference(OS, SM, SM.getExpansionLoc(Loc), Previous);
  120   auto PrintedLoc = PrintDifference(OS, SM, B, {});
  160 PresumedLoc FullSourceLoc::getPresumedLoc(bool UseLineDirectives) const {
tools/clang/lib/Basic/SourceManager.cpp
 1199 static bool isInvalid(LocType Loc, bool *Invalid) {
 1222   PresumedLoc PLoc = getPresumedLoc(Loc);
 1390   PresumedLoc PLoc = getPresumedLoc(Loc);
 1448 PresumedLoc SourceManager::getPresumedLoc(SourceLocation Loc,
tools/clang/lib/CodeGen/CGDebugInfo.cpp
  183   PresumedLoc PCLoc = SM.getPresumedLoc(CurLoc);
  412   PresumedLoc PLoc = SM.getPresumedLoc(Loc);
  490   PresumedLoc PLoc = SM.getPresumedLoc(Loc.isValid() ? Loc : CurLoc);
  503   PresumedLoc PLoc = SM.getPresumedLoc(Loc.isValid() ? Loc : CurLoc);
tools/clang/lib/CodeGen/CGExpr.cpp
 2876   PresumedLoc PLoc = getContext().getSourceManager().getPresumedLoc(Loc);
tools/clang/lib/CodeGen/CGOpenMPRuntime.cpp
 1670     PresumedLoc PLoc = CGF.getContext().getSourceManager().getPresumedLoc(Loc);
 2656   PresumedLoc PLoc = SM.getPresumedLoc(Loc);
tools/clang/lib/CodeGen/CodeGenModule.cpp
 2191   PresumedLoc PLoc = SM.getPresumedLoc(Loc);
 2199   PresumedLoc PLoc = SM.getPresumedLoc(L);
tools/clang/lib/CodeGen/SanitizerMetadata.cpp
   91   PresumedLoc PLoc = CGM.getContext().getSourceManager().getPresumedLoc(Loc);
tools/clang/lib/Frontend/DiagnosticRenderer.cpp
  120     PresumedLoc PLoc = Loc.getPresumedLoc(DiagOpts->ShowPresumedLoc);
  165 void DiagnosticRenderer::emitIncludeStack(FullSourceLoc Loc, PresumedLoc PLoc,
  196   PresumedLoc PLoc = Loc.getPresumedLoc(DiagOpts->ShowPresumedLoc);
  237   PresumedLoc PLoc = Loc.getPresumedLoc(DiagOpts->ShowPresumedLoc);
  593                                                  PresumedLoc PLoc) {
  603                                                 PresumedLoc PLoc,
  617                                                         PresumedLoc PLoc,
tools/clang/lib/Frontend/FrontendActions.cpp
  454       const PresumedLoc DefLoc =
  461     const PresumedLoc PoiLoc =
tools/clang/lib/Frontend/HeaderIncludeGen.cpp
  134   PresumedLoc UserLoc = SM.getPresumedLoc(Loc);
tools/clang/lib/Frontend/LogDiagnosticPrinter.cpp
  144     PresumedLoc PLoc = SM.getPresumedLoc(Info.getLocation());
tools/clang/lib/Frontend/PrintPreprocessedOutput.cpp
  157     PresumedLoc PLoc = SM.getPresumedLoc(Loc);
  267   PresumedLoc UserLoc = SourceMgr.getPresumedLoc(Loc);
  920     PresumedLoc PLoc = SourceMgr.getPresumedLoc(Tok.getLocation());
tools/clang/lib/Frontend/Rewrite/RewriteModernObjC.cpp
 1621     PresumedLoc PLoc = SM->getPresumedLoc(Loc);
 3053     PresumedLoc PLoc = SM->getPresumedLoc(Location);
tools/clang/lib/Frontend/SerializedDiagnosticPrinter.cpp
   67   void emitDiagnosticMessage(FullSourceLoc Loc, PresumedLoc PLoc,
   72   void emitDiagnosticLoc(FullSourceLoc Loc, PresumedLoc PLoc,
  190   void EmitDiagnosticMessage(FullSourceLoc Loc, PresumedLoc PLoc,
  215   void AddLocToRecord(FullSourceLoc Loc, PresumedLoc PLoc,
  342 void SDiagsWriter::AddLocToRecord(FullSourceLoc Loc, PresumedLoc PLoc,
  627 void SDiagsWriter::EmitDiagnosticMessage(FullSourceLoc Loc, PresumedLoc PLoc,
  657     FullSourceLoc Loc, PresumedLoc PLoc, DiagnosticsEngine::Level Level,
  722   PresumedLoc PLoc = Loc.hasManager() ? Loc.getPresumedLoc() : PresumedLoc();
tools/clang/lib/Frontend/TextDiagnostic.cpp
  674     FullSourceLoc Loc, PresumedLoc PLoc, DiagnosticsEngine::Level Level,
  806 void TextDiagnostic::emitDiagnosticLoc(FullSourceLoc Loc, PresumedLoc PLoc,
  907 void TextDiagnostic::emitIncludeLocation(FullSourceLoc Loc, PresumedLoc PLoc) {
  915 void TextDiagnostic::emitImportLocation(FullSourceLoc Loc, PresumedLoc PLoc,
  925                                                 PresumedLoc PLoc,
 1350     PresumedLoc PLoc = SM.getPresumedLoc(BLoc);
tools/clang/lib/Index/FileIndexRecord.cpp
   49     PresumedLoc PLoc = SM.getPresumedLoc(Loc);
tools/clang/lib/Lex/PPDirectives.cpp
 1251     PresumedLoc PLoc = SM.getPresumedLoc(FlagTok.getLocation());
tools/clang/lib/Lex/PPMacroExpansion.cpp
 1481     PresumedLoc PLoc = SourceMgr.getPresumedLoc(Loc);
 1490     PresumedLoc PLoc = SourceMgr.getPresumedLoc(Tok.getLocation());
 1550     PresumedLoc PLoc = SourceMgr.getPresumedLoc(Tok.getLocation());
tools/clang/lib/Lex/Pragma.cpp
  469   PresumedLoc PLoc = SourceMgr.getPresumedLoc(SysHeaderTok.getLocation());
tools/clang/lib/StaticAnalyzer/Checkers/AnalyzerStatsChecker.cpp
   92   PresumedLoc Loc = SM.getPresumedLoc(D->getLocation());
tools/clang/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp
  307     PresumedLoc Loc = SM.getPresumedLoc(D->getLocation());
  699     PresumedLoc Loc = Ctx->getSourceManager().getPresumedLoc(D->getLocation());
tools/clang/tools/arcmt-test/arcmt-test.cpp
  310   PresumedLoc PL = SM.getPresumedLoc(loc);
  322   PresumedLoc PL = SM.getPresumedLoc(range.getBegin());
tools/clang/tools/clang-format/ClangFormat.cpp
  320       PresumedLoc PLoc = Sources.getPresumedLoc(
tools/clang/tools/extra/clang-tidy/ClangTidyDiagnosticConsumer.cpp
   42   void emitDiagnosticMessage(FullSourceLoc Loc, PresumedLoc PLoc,
   66   void emitDiagnosticLoc(FullSourceLoc Loc, PresumedLoc PLoc,
   98   void emitIncludeLocation(FullSourceLoc Loc, PresumedLoc PLoc) override {}
  100   void emitImportLocation(FullSourceLoc Loc, PresumedLoc PLoc,
  103   void emitBuildingModuleLocation(FullSourceLoc Loc, PresumedLoc PLoc,
tools/clang/tools/extra/clang-tidy/utils/HeaderFileExtensionsUtils.cpp
   28   PresumedLoc PresumedLocation = SM.getPresumedLoc(Loc);
tools/clang/tools/extra/modularize/PreprocessorTracker.cpp
  291   clang::PresumedLoc PLoc = PP.getSourceManager().getPresumedLoc(Loc);
tools/clang/tools/extra/pp-trace/PPCallbacksTracker.cpp
   30     PresumedLoc PLoc = PP.getSourceManager().getPresumedLoc(Loc);
tools/clang/tools/libclang/CIndexDiagnostic.cpp
  112   void emitDiagnosticMessage(FullSourceLoc Loc, PresumedLoc PLoc,
  128   void emitDiagnosticLoc(FullSourceLoc Loc, PresumedLoc PLoc,
tools/clang/tools/libclang/CIndexInclusionStack.cpp
   51       PresumedLoc PLoc = SM.getPresumedLoc(L);
tools/clang/tools/libclang/CXSourceLocation.cpp
  282   PresumedLoc PreLoc = SM.getPresumedLoc(Loc);