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

References

tools/clang/include/clang/Tooling/Transformer/SourceCode.h
   85   return getRangeForEdit(EditRange, Context.getSourceManager(),
tools/clang/lib/AST/ASTDumper.cpp
  202               &Ctx.getSourceManager(), /*ShowColors*/ true,
  263        &Context.getSourceManager());
tools/clang/lib/AST/Expr.cpp
 2187   PresumedLoc PLoc = Ctx.getSourceManager().getPresumedLoc(
 2188       Ctx.getSourceManager().getExpansionRange(Loc).getEnd());
tools/clang/lib/AST/RawCommentList.cpp
  179   (void)getRawText(Context.getSourceManager());
  206   (void)getRawText(Context.getSourceManager());
  212   comments::Sema S(Context.getAllocator(), Context.getSourceManager(),
  217   comments::Parser P(L, S, Context.getAllocator(), Context.getSourceManager(),
tools/clang/lib/AST/Stmt.cpp
  632     const SourceManager &SM = C.getSourceManager();
tools/clang/lib/AST/StmtPrinter.cpp
 1108       Context->getSourceManager(), Context->getLangOpts(), &Invalid);
tools/clang/lib/Analysis/ProgramPoint.cpp
   53   const SourceManager &SM = Context.getSourceManager();
tools/clang/lib/Index/CommentToXML.cpp
 1139                                      Context.getSourceManager());
tools/clang/lib/Tooling/FixIt.cpp
   22   return Lexer::getSourceText(Range, Context.getSourceManager(),
tools/clang/lib/Tooling/Refactoring/ASTSelection.cpp
   42       : LexicallyOrderedRecursiveASTVisitor(Context.getSourceManager()),
   86     const SourceManager &SM = Context.getSourceManager();
  142     const SourceManager &SM = Context.getSourceManager();
  190       Context.getSourceManager().getFileID(SelectionRange.getBegin());
  191   assert(Context.getSourceManager().getFileID(SelectionRange.getEnd()) ==
tools/clang/lib/Tooling/Refactoring/Rename/USRFinder.cpp
   38       : RecursiveSymbolVisitor(Context.getSourceManager(),
   64            (Context.getSourceManager().isBeforeInTranslationUnit(Start,
   66             Context.getSourceManager().isBeforeInTranslationUnit(Point, End));
   78   const SourceManager &SM = Context.getSourceManager();
tools/clang/lib/Tooling/Refactoring/Rename/USRLocFinder.cpp
   60       : RecursiveSymbolVisitor(Context.getSourceManager(),
   71       const SourceManager &SM = Context.getSourceManager();
   90         BeginLoc, 0, Context.getSourceManager(), Context.getLangOpts());
   93                              Context.getSourceManager(), Context.getLangOpts());
tools/clang/lib/Tooling/Transformer/SourceCode.cpp
   19   return Lexer::getSourceText(Range, Context.getSourceManager(),
tools/clang/tools/clang-diff/ClangDiff.cpp
  286   const SourceManager &SrcMgr = Tree.getASTContext().getSourceManager();
tools/clang/tools/extra/clang-doc/Mapper.cpp
   89   return Context.getSourceManager().getPresumedLoc(D->getBeginLoc()).getLine();
   96   llvm::SmallString<128> File(Context.getSourceManager()
tools/clang/tools/extra/clang-reorder-fields/ReorderFieldsAction.cpp
   88                            Context.getSourceManager(), Context.getLangOpts());
   89   tooling::Replacement R(Context.getSourceManager(),
tools/clang/tools/extra/clang-tidy/abseil/StringFindStartswithCheck.cpp
   62   const SourceManager &Source = Context.getSourceManager();
tools/clang/tools/extra/clang-tidy/bugprone/BranchCloneCheck.cpp
  213           EndLoc = Context.getSourceManager().getExpansionLoc(EndLoc);
tools/clang/tools/extra/clang-tidy/bugprone/MoveForwardingReferenceCheck.cpp
   26   const SourceManager &SM = Context.getSourceManager();
tools/clang/tools/extra/clang-tidy/cppcoreguidelines/InitVariablesCheck.cpp
   50   const SourceManager &Source = Context.getSourceManager();
tools/clang/tools/extra/clang-tidy/cppcoreguidelines/ProTypeMemberInitCheck.cpp
   84   return Lexer::getLocForEndOfToken(Location, 0, Context.getSourceManager(),
  123                      Context.getSourceManager(), Context.getLangOpts())
  129                      Context.getSourceManager(), Context.getLangOpts())
tools/clang/tools/extra/clang-tidy/misc/RedundantExpressionCheck.cpp
  619   const SourceManager &SM = AstCtx->getSourceManager();
tools/clang/tools/extra/clang-tidy/misc/StaticAssertCheck.cpp
   82   const SourceManager &SM = ASTCtx->getSourceManager();
  146   const SourceManager &SM = ASTCtx->getSourceManager();
tools/clang/tools/extra/clang-tidy/modernize/UseEqualsDefaultCheck.cpp
  196       Context->getSourceManager(), Context->getLangOpts(), &Invalid);
tools/clang/tools/extra/clang-tidy/performance/UnnecessaryValueParamCheck.cpp
  199   const auto &SM = Context.getSourceManager();
tools/clang/tools/extra/clang-tidy/readability/ConvertMemberFunctionsToStatic.cpp
   48              Ctxt.getSourceManager(), Ctxt.getLangOpts())
tools/clang/tools/extra/clangd/CodeCompletionStrings.cpp
   86   assert(!Ctx.getSourceManager().isLoadedSourceLocation(RC->getBeginLoc()));
   88       RC->getFormattedText(Ctx.getSourceManager(), Ctx.getDiagnostics());
tools/clang/tools/extra/clangd/ParsedAST.cpp
  464   Total += AST.getSourceManager().getContentCacheSize();
  465   Total += AST.getSourceManager().getDataStructureSizes();
  466   Total += AST.getSourceManager().getMemoryBufferSizes().malloc_bytes;
tools/clang/tools/extra/clangd/ParsedAST.h
   77     return getASTContext().getSourceManager();
tools/clang/tools/extra/clangd/Quality.cpp
   54   const auto &SourceMgr = Context.getSourceManager();
tools/clang/tools/extra/clangd/XRefs.cpp
  383     const SourceManager &SM = AST.getSourceManager();
tools/clang/tools/extra/clangd/refactor/tweaks/DefineInline.cpp
  326     const auto &SM = AST.getSourceManager();
tools/clang/unittests/Index/IndexTests.cpp
   86     S.WrittenPos = Position::fromSourceLocation(Loc, AST->getSourceManager());
   88         Position::fromSourceLocation(D->getLocation(), AST->getSourceManager());
   99     S.WrittenPos = Position::fromSourceLocation(Loc, AST->getSourceManager());
  101                                              AST->getSourceManager());
tools/clang/unittests/Tooling/ASTSelectionTest.cpp
   46     const SourceManager &SM = Context.getSourceManager();
tools/clang/unittests/Tooling/LexicallyOrderedRecursiveASTVisitorTest.cpp
   55     const SourceManager &SM = Context.getSourceManager();