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

References

tools/clang/include/clang/ASTMatchers/ASTMatchers.h
  238   auto &SourceManager = Finder->getASTContext().getSourceManager();
  259   auto &SourceManager = Finder->getASTContext().getSourceManager();
  285   auto &SourceManager = Finder->getASTContext().getSourceManager();
tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/AnalysisManager.h
   83     return getASTContext().getSourceManager();
  147     const SourceManager &SM = getASTContext().getSourceManager();
tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h
  242         getState()->getStateManager().getContext().getSourceManager();
tools/clang/lib/ARCMigrate/ARCMT.cpp
  300                          Ctx.getSourceManager(), Ctx.getLangOpts());
  577   Rewriter rewriter(Ctx.getSourceManager(), Ctx.getLangOpts());
  599     const FileEntry *file = Ctx.getSourceManager().getFileEntryForID(FID);
tools/clang/lib/ARCMigrate/ObjCMT.cpp
  140     Editor.reset(new edit::EditedSource(Context.getSourceManager(),
 1962    JSONEditWriter Writer(Ctx.getSourceManager(), OS);
 1967   Rewriter rewriter(Ctx.getSourceManager(), Ctx.getLangOpts());
 1975     const FileEntry *file = Ctx.getSourceManager().getFileEntryForID(FID);
tools/clang/lib/ARCMigrate/TransAutoreleasePool.cpp
  288       SourceManager &SM = Ctx.getSourceManager();
tools/clang/lib/ARCMigrate/TransBlockObjCVariable.cpp
  140     SourceManager &SM = Pass.Ctx.getSourceManager();
tools/clang/lib/ARCMigrate/TransEmptyStatementsAndDealloc.cpp
   44   SourceManager &SM = Ctx.getSourceManager();
tools/clang/lib/ARCMigrate/TransGCAttrs.cpp
   96     SourceManager &SM = Ctx.getSourceManager();
  172     SourceManager &SM = MigrateCtx.Pass.Ctx.getSourceManager();
  286       Loc = MigrateCtx.Pass.Ctx.getSourceManager()
  340     Attr.Loc.print(llvm::errs(), Pass.Ctx.getSourceManager());
tools/clang/lib/ARCMigrate/TransProtectedScope.cpp
  104       SM(Pass.Ctx.getSourceManager()) {
tools/clang/lib/ARCMigrate/TransRetainReleaseDealloc.cpp
  330     SourceManager &SM = Pass.Ctx.getSourceManager();
tools/clang/lib/ARCMigrate/TransUnbridgedCasts.cpp
  109     if (loc.isValid() && Pass.Ctx.getSourceManager().isInSystemHeader(loc))
  254       SourceManager &SM = Pass.Ctx.getSourceManager();
  281     SourceManager &SM = Pass.Ctx.getSourceManager();
  339                                                     Pass.Ctx.getSourceManager(),
tools/clang/lib/ARCMigrate/TransformActions.cpp
  387   SourceManager &SM = Ctx.getSourceManager();
  400   SourceManager &SM = Ctx.getSourceManager();
  422   SourceManager &SM = Ctx.getSourceManager();
  443   addInsertion(getLocForEndOfToken(loc, Ctx.getSourceManager(), PP), text);
  467                                                Ctx.getSourceManager(), PP);
  477                                                       Ctx.getSourceManager(), PP),
  483   SourceManager &SM = Ctx.getSourceManager();
  494   SourceManager &SM = Ctx.getSourceManager();
  507   SourceManager &SM = Ctx.getSourceManager();
  520   CharRange newRange(range, Ctx.getSourceManager(), PP);
tools/clang/lib/ARCMigrate/Transforms.cpp
  132   SourceManager &SM = Ctx.getSourceManager();
  385   SourceManager &SM = Pass.Ctx.getSourceManager();
  466   SourceManager &SM = Pass.Ctx.getSourceManager();
  538         const SourceManager &SM = pass.Ctx.getSourceManager();
tools/clang/lib/AST/ASTDumper.cpp
  184   const SourceManager &SM = Ctx.getSourceManager();
  218   const SourceManager &SM = Ctx.getSourceManager();
  219   ASTDumper P(OS, &Ctx.getCommentCommandTraits(), &Ctx.getSourceManager(),
tools/clang/lib/AST/ASTImporter.cpp
 8391   SourceManager &FromSM = FromContext.getSourceManager();
 8398   SourceManager &ToSM = ToContext.getSourceManager();
 8417   SourceManager &FromSM = FromContext.getSourceManager();
 8418   SourceManager &ToSM = ToContext.getSourceManager();
tools/clang/lib/AST/DataCollection.cpp
   20   MacroStack << Lexer::getImmediateMacroName(Loc, Context.getSourceManager(),
   36   SourceManager &SM = Context.getSourceManager();
tools/clang/lib/AST/Decl.cpp
   83     Loc.print(OS, Context.getSourceManager());
 3345   const SourceManager &SM = getASTContext().getSourceManager();
 4755         SourceManager &SM = getASTContext().getSourceManager();
tools/clang/lib/AST/ItaniumMangle.cpp
 4942                                  getASTContext().getSourceManager(),
tools/clang/lib/AST/MicrosoftMangle.cpp
  412   SourceManager &SM = Context.getSourceManager();
 2953                                  getASTContext().getSourceManager(),
tools/clang/lib/AST/TypePrinter.cpp
 1187       PresumedLoc PLoc = D->getASTContext().getSourceManager().getPresumedLoc(
tools/clang/lib/ASTMatchers/ASTMatchFinder.cpp
  693         Node.dump(llvm::errs(), ActiveASTContext->getSourceManager());
 1001     SourceManager(&Context->getSourceManager()) {}
tools/clang/lib/Analysis/AnalysisDeclContext.cpp
  484       getAnalysisDeclContext()->getASTContext().getSourceManager();
  527       getAnalysisDeclContext()->getASTContext().getSourceManager();
tools/clang/lib/Analysis/CloneDetection.cpp
   42   const SourceManager &SM = getASTContext().getSourceManager();
  161     const SourceManager &SM = S.getASTContext().getSourceManager();
tools/clang/lib/CodeGen/CGDebugInfo.cpp
  173   CurLoc = CGM.getContext().getSourceManager().getExpansionLoc(Loc);
  181   SourceManager &SM = CGM.getContext().getSourceManager();
  376   SourceManager &SM = CGM.getContext().getSourceManager();
  411   SourceManager &SM = CGM.getContext().getSourceManager();
  489   SourceManager &SM = CGM.getContext().getSourceManager();
  502   SourceManager &SM = CGM.getContext().getSourceManager();
  531   SourceManager &SM = CGM.getContext().getSourceManager();
tools/clang/lib/CodeGen/CGExpr.cpp
 2876   PresumedLoc PLoc = getContext().getSourceManager().getPresumedLoc(Loc);
tools/clang/lib/CodeGen/CGExprComplex.cpp
   99     S->dump(CGF.getContext().getSourceManager());
tools/clang/lib/CodeGen/CGExprScalar.cpp
  427     S->dump(CGF.getContext().getSourceManager());
tools/clang/lib/CodeGen/CGObjCGNU.cpp
 3766     SourceManager &SM = CGM.getContext().getSourceManager();
tools/clang/lib/CodeGen/CGOpenMPRuntime.cpp
 1670     PresumedLoc PLoc = CGF.getContext().getSourceManager().getPresumedLoc(Loc);
 2649   SourceManager &SM = C.getSourceManager();
 4103         for (auto I = CGM.getContext().getSourceManager().fileinfo_begin(),
 4104                   E = CGM.getContext().getSourceManager().fileinfo_end();
 4108             Loc = CGM.getContext().getSourceManager().translateFileLineCol(
tools/clang/lib/CodeGen/CGStmt.cpp
  381   PrettyStackTraceLoc CrashInfo(getContext().getSourceManager(),S.getLBracLoc(),
 1893     const SourceManager &SM = CGF.CGM.getContext().getSourceManager();
tools/clang/lib/CodeGen/CodeGenAction.cpp
  163                                      Context->getSourceManager(),
  186                                      Context->getSourceManager(),
  321                                      Context->getSourceManager(),
  441     Loc = ConvertBackendLocation(D, Context->getSourceManager());
  564   SourceManager &SourceMgr = Context->getSourceManager();
tools/clang/lib/CodeGen/CodeGenModule.cpp
 2190   SourceManager &SM = getContext().getSourceManager();
 2198   SourceManager &SM = getContext().getSourceManager();
 2243   auto &SM = Context.getSourceManager();
 2793                                  Context.getSourceManager(),
 5484     SourceManager &SM = getContext().getSourceManager();
tools/clang/lib/CodeGen/CodeGenPGO.cpp
  789     SourceManager &SM = CGM.getContext().getSourceManager();
  823   const auto &SM = CGM.getContext().getSourceManager();
  835                                 CGM.getContext().getSourceManager(),
  856                                 CGM.getContext().getSourceManager(),
tools/clang/lib/CodeGen/SanitizerMetadata.cpp
   91   PresumedLoc PLoc = CGM.getContext().getSourceManager().getPresumedLoc(Loc);
tools/clang/lib/CrossTU/CrossTranslationUnit.cpp
  247          &Unit->getASTContext().getSourceManager().getFileManager());
  558       Context, Context.getSourceManager().getFileManager(), From,
  559       From.getSourceManager().getFileManager(), false, ImporterSharedSt);
  572   const SourceManager &SM = Context.getSourceManager();
tools/clang/lib/Edit/RewriteObjCFoundationAPI.cpp
  690                                   Ctx.getSourceManager(), Ctx.getLangOpts());
tools/clang/lib/Frontend/Rewrite/HTMLPrint.cpp
   56   R.setSourceMgr(context.getSourceManager(), context.getLangOpts());
tools/clang/lib/Frontend/Rewrite/RewriteModernObjC.cpp
  673   SM = &Context->getSourceManager();
  708   Rewrite.setSourceMgr(Context->getSourceManager(), Context->getLangOpts());
 3611     return Context->getSourceManager().isBeforeInTranslationUnit(
 3619     return Context->getSourceManager().isBeforeInTranslationUnit(
tools/clang/lib/Frontend/Rewrite/RewriteObjC.cpp
  602   SM = &Context->getSourceManager();
  637   Rewrite.setSourceMgr(Context->getSourceManager(), Context->getLangOpts());
tools/clang/lib/Index/FileIndexRecord.cpp
   47     SourceManager &SM = D->getASTContext().getSourceManager();
tools/clang/lib/Index/IndexingContext.cpp
  117   SourceManager &SM = Ctx->getSourceManager();
  363   SourceManager &SM = Ctx->getSourceManager();
tools/clang/lib/Index/USRGeneration.cpp
  193   const SourceManager &SM = Context->getSourceManager();
  553       printLoc(Out, D->getLocation(), Context->getSourceManager(), true);
  615                                 Context->getSourceManager(), IncludeOffset);
tools/clang/lib/Sema/Sema.cpp
  417   if (!Context.getSourceManager().isInSystemHeader(loc))
tools/clang/lib/Sema/SemaCodeComplete.cpp
 3623         Placeholder += GetDefaultValueString(Param, Context.getSourceManager(),
tools/clang/lib/Sema/SemaDecl.cpp
 1819         D->getEndLoc(), tok::colon, Ctx.getSourceManager(), Ctx.getLangOpts(),
 2369        Context.getSourceManager().isInSystemHeader(Old->getLocation()) ||
 2370        Context.getSourceManager().isInSystemHeader(New->getLocation())))
tools/clang/lib/Sema/SemaDeclAttr.cpp
 7476   if (S.Context.getSourceManager().isInSystemHeader(D->getLocation())) {
tools/clang/lib/Sema/SemaDeclObjC.cpp
 3929           if (!Context.getSourceManager().isInSystemHeader(
 3953           if (!Context.getSourceManager().isInSystemHeader(
tools/clang/lib/Sema/SemaExceptionSpec.cpp
   66   if (!Context.getSourceManager().isInSystemHeader(D.getBeginLoc()))
  337        Context.getSourceManager().isInSystemHeader(Old->getLocation()) ||
tools/clang/lib/Sema/SemaExprObjC.cpp
 3436         if (Context.getSourceManager().isInSystemHeader(var->getLocation()))
tools/clang/lib/Sema/SemaObjCProperty.cpp
  318   SourceManager &SM = Context.getSourceManager();
tools/clang/lib/Serialization/ASTWriter.cpp
 1511     cleanPathForOutput(Context.getSourceManager().getFileManager(), BaseDir);
 1647       Context.getSourceManager().getFileManager().getFileSystemOpts();
 1720   SourceManager &SM = Context.getSourceManager();
 4605       cleanPathForOutput(Context->getSourceManager().getFileManager(), Path);
 5104   WriteSourceManagerBlock(Context.getSourceManager(), PP);
 5737   SourceManager &SM = Context->getSourceManager();
tools/clang/lib/Serialization/ASTWriterDecl.cpp
 2384   SourceManager &SM = Context.getSourceManager();
tools/clang/lib/StaticAnalyzer/Checkers/CloneChecker.cpp
  103       S.front(), ACtx.getSourceManager(),
  162   SourceManager &SM = ACtx.getSourceManager();
tools/clang/lib/StaticAnalyzer/Checkers/DeadStoresChecker.cpp
  175     SourceManager &SMgr = Ctx.getSourceManager();
  230           SourceManager &SM = ACtx.getSourceManager();
tools/clang/lib/StaticAnalyzer/Checkers/MallocChecker.cpp
  959   return !L.isValid() || C.getSourceManager().isInSystemHeader(L);
tools/clang/lib/StaticAnalyzer/Checkers/NumberObjectConversionChecker.cpp
   82           Loc, ACtx.getSourceManager(), ACtx.getLangOpts());
tools/clang/lib/StaticAnalyzer/Checkers/StackAddrEscapeChecker.cpp
   72   SourceManager &SM = Ctx.getSourceManager();
tools/clang/lib/StaticAnalyzer/Checkers/UninitializedObject/UninitializedObjectChecker.cpp
  250   if (State->getStateManager().getContext().getSourceManager().isInSystemHeader(
tools/clang/lib/StaticAnalyzer/Core/BugReporter.cpp
  641   const SourceManager &SMgr = LC->getDecl()->getASTContext().getSourceManager();
 1970       SM(CurrentNode->getCodeDecl().getASTContext().getSourceManager()),
 2344       ErrorNode->getState()->getStateManager().getContext().getSourceManager();
tools/clang/lib/StaticAnalyzer/Core/BugReporterVisitors.cpp
  362         SM(MmrMgr.getContext().getSourceManager()),
tools/clang/lib/StaticAnalyzer/Core/ExprEngine.cpp
  772   PrettyStackTraceLoc CrashInfo(getContext().getSourceManager(),
  799   PrettyStackTraceLoc CrashInfo(getContext().getSourceManager(),
  822   PrettyStackTraceLoc CrashInfo(getContext().getSourceManager(),
 1198   PrettyStackTraceLoc CrashInfo(getContext().getSourceManager(),
 2111   PrettyStackTraceLoc CrashInfo(getContext().getSourceManager(),
tools/clang/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp
  650   PrettyStackTraceLoc CrashInfo(getContext().getSourceManager(),
  673   PrettyStackTraceLoc CrashInfo(getContext().getSourceManager(),
tools/clang/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp
  877         if (Ctx.getSourceManager().isInSystemHeader(FD->getLocation()))
tools/clang/lib/StaticAnalyzer/Core/MemRegion.cpp
  853     if (C.getSourceManager().isInSystemHeader(D->getLocation())) {
tools/clang/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp
  306     SourceManager &SM = Mgr->getASTContext().getSourceManager();
  594   const SourceManager &SM = C.getSourceManager();
  699     PresumedLoc Loc = Ctx->getSourceManager().getPresumedLoc(D->getLocation());
  751   SourceManager &SM = Ctx->getSourceManager();
tools/clang/lib/Tooling/ASTDiff/ASTDiff.cpp
  232     if (isNodeExcluded(Tree.AST.getSourceManager(), D))
  242     if (isNodeExcluded(Tree.AST.getSourceManager(), S))
  251     if (isNodeExcluded(Tree.AST.getSourceManager(), Init))
  440     return Lexer::getSourceText(Range, AST.getSourceManager(),
  996   const SourceManager &SrcMgr = TreeImpl->AST.getSourceManager();
tools/clang/lib/Tooling/Core/Lookup.cpp
  143   const auto &SM = UseContext.getParentASTContext().getSourceManager();
tools/clang/lib/Tooling/Refactoring/Extract/Extract.cpp
  109   SourceManager &SM = AST.getSourceManager();
tools/clang/lib/Tooling/Refactoring/Rename/RenamingAction.cpp
   87       *Occurrences, Context.getASTContext().getSourceManager(), Name);
  206     const SourceManager &SourceMgr = Context.getSourceManager();
tools/clang/lib/Tooling/Refactoring/Rename/USRFindingAction.cpp
  253     const SourceManager &SourceMgr = Context.getSourceManager();
tools/clang/lib/Tooling/Refactoring/Rename/USRLocFinder.cpp
  201       if (IsValidEditLoc(Context.getSourceManager(), StartLoc)) {
  310         IsValidEditLoc(Context.getSourceManager(), StartLoc)) {
  389         if (IsValidEditLoc(Context.getSourceManager(), StartLoc)) {
  424         if (IsValidEditLoc(Context.getSourceManager(), StartLoc)) {
  517       TranslationUnitDecl->getASTContext().getSourceManager();
tools/clang/lib/Tooling/Transformer/RangeSelector.cpp
  124         SelectedRange->getEnd(), 0, Result.Context->getSourceManager(),
tools/clang/lib/Tooling/Transformer/SourceCode.cpp
   27       Range.getEnd(), Context.getSourceManager(), Context.getLangOpts());
tools/clang/tools/arcmt-test/arcmt-test.cpp
  309   SourceManager &SM = Ctx.getSourceManager();
  319   SourceManager &SM = Ctx.getSourceManager();
tools/clang/tools/c-index-test/core_main.cpp
  101     SourceManager &SM = Ctx.getSourceManager();
  139     SourceManager &SM = Ctx.getSourceManager();
tools/clang/tools/clang-extdef-mapping/ClangExtDefMapGen.cpp
   37       : Ctx(Context), SM(Context.getSourceManager()) {}
tools/clang/tools/clang-refactor/ClangRefactor.cpp
  393     RefactoringRuleContext Context(AST.getSourceManager());
tools/clang/tools/extra/clang-doc/Mapper.cpp
   28   if (D->getASTContext().getSourceManager().isInSystemHeader(D->getLocation()))
tools/clang/tools/extra/clang-move/Move.cpp
  114   auto &SourceManager = Finder->getASTContext().getSourceManager();
  230     SourceManager *SM = &Result.Context->getSourceManager();
  280   const auto &SM = D->getASTContext().getSourceManager();
  313   const auto &SM = D->getASTContext().getSourceManager();
  329   const auto &SM = D->getASTContext().getSourceManager();
  337   const auto &SM = D->getASTContext().getSourceManager();
  492   const auto &SM = Decl->getASTContext().getSourceManager();
  748     const auto &SM = RemovedDecl->getASTContext().getSourceManager();
  758   const auto &SM = RemovedDecls[0]->getASTContext().getSourceManager();
  925     auto &SM = RemovedDecls[0]->getASTContext().getSourceManager();
tools/clang/tools/extra/clang-tidy/abseil/AbseilMatcher.h
   34   auto &SourceManager = Finder->getASTContext().getSourceManager();
tools/clang/tools/extra/clang-tidy/android/ComparisonInTempFailureRetryCheck.cpp
   26   const SourceManager &SM = Finder->getASTContext().getSourceManager();
tools/clang/tools/extra/clang-tidy/bugprone/ArgumentCommentCheck.cpp
   66   auto &SM = Ctx->getSourceManager();
  112         Loc, Ctx->getSourceManager(), Ctx->getLangOpts(),
  121                              Ctx->getSourceManager(), Ctx->getLangOpts()));
  259                                     Ctx->getSourceManager(),
tools/clang/tools/extra/clang-tidy/bugprone/SuspiciousMissingCommaCheck.cpp
   38   const SourceManager &SM = Ctx->getSourceManager();
tools/clang/tools/extra/clang-tidy/bugprone/SuspiciousSemicolonCheck.cpp
   42   auto Token = utils::lexer::getPreviousToken(LocStart, Ctxt.getSourceManager(),
tools/clang/tools/extra/clang-tidy/bugprone/SuspiciousStringCompareCheck.cpp
  176         Call->getRParenLoc(), 0, Result.Context->getSourceManager(),
  186         Call->getRParenLoc(), 0, Result.Context->getSourceManager(),
tools/clang/tools/extra/clang-tidy/misc/DefinitionsInHeadersCheck.cpp
   24       Node.getBeginLoc(), Finder->getASTContext().getSourceManager(),
tools/clang/tools/extra/clang-tidy/misc/RedundantExpressionCheck.cpp
  323   const SourceManager &SM = Finder->getASTContext().getSourceManager();
tools/clang/tools/extra/clang-tidy/modernize/LoopConvertCheck.cpp
  560       getAliasRange(Context->getSourceManager(), ReplaceRange);
  662         getStringFromRange(Context->getSourceManager(), Context->getLangOpts(),
tools/clang/tools/extra/clang-tidy/modernize/LoopConvertUtils.cpp
  486     Begin = Context->getSourceManager().getSpellingLoc(Begin);
  578         Base->getExprLoc(), 0, Context->getSourceManager(),
tools/clang/tools/extra/clang-tidy/modernize/ReplaceRandomShuffleCheck.cpp
   99               Result.Context->getSourceManager().getFileID(
tools/clang/tools/extra/clang-tidy/modernize/UseNullptrCheck.cpp
  175       : SM(Context.getSourceManager()), Context(Context),
tools/clang/tools/extra/clang-tidy/performance/MoveConstArgCheck.cpp
   65   SourceManager &SM = Result.Context->getSourceManager();
tools/clang/tools/extra/clang-tidy/performance/TypePromotionInMathFnCheck.cpp
  196             Result.Context->getSourceManager().getFileID(Call->getBeginLoc()),
tools/clang/tools/extra/clang-tidy/readability/ImplicitBoolConversionCheck.cpp
   25   SourceManager &SM = Finder->getASTContext().getSourceManager();
   31   SourceManager &SM = Context.getSourceManager();
  147       Cast->getEndLoc(), 0, Context.getSourceManager(), Context.getLangOpts());
  191         Cast->getEndLoc(), 0, Context.getSourceManager(),
tools/clang/tools/extra/clang-tidy/readability/SimplifySubscriptExprCheck.cpp
   52   if (Result.Context->getSourceManager().isMacroBodyExpansion(
tools/clang/tools/extra/clang-tidy/utils/FixItHintUtils.cpp
   21       AmpLocation, Context.getSourceManager(), Context.getLangOpts());
   24                                              Context.getSourceManager(),
tools/clang/tools/extra/clangd/AST.cpp
   80                             D->getASTContext().getSourceManager());
tools/clang/tools/extra/clangd/CodeComplete.cpp
  221       auto &SM = SemaResult->Declaration->getASTContext().getSourceManager();
  282             FixIt, ASTCtx->getSourceManager(), ASTCtx->getLangOpts()));
tools/clang/tools/extra/clangd/FindSymbols.cpp
  132   auto &SM = Ctx.getSourceManager();
tools/clang/tools/extra/clangd/ParsedAST.cpp
   72       auto &SM = D->getASTContext().getSourceManager();
tools/clang/tools/extra/clangd/ParsedAST.h
   74     return getASTContext().getSourceManager();
tools/clang/tools/extra/clangd/Quality.cpp
   44   auto &SourceMgr = D.getASTContext().getSourceManager();
tools/clang/tools/extra/clangd/Selection.cpp
  172       StringRef FileContent = AST.getSourceManager().getBufferData(File);
  259       : SM(AST.getSourceManager()), LangOpts(AST.getLangOpts()),
  465   StringRef Buf = AST.getSourceManager().getBufferData(FID);
  486   const SourceManager &SM = AST.getSourceManager();
tools/clang/tools/extra/clangd/XRefs.cpp
  217   const SourceManager &SourceMgr = AST.getSourceManager();
  227           getTokenRange(AST.getSourceManager(), AST.getLangOpts(), TokLoc)) {
  427             getTokenRange(AST.getASTContext().getSourceManager(),
  863       Lexer::getRawToken(SourceLocationBeg, Tok, ASTCtx.getSourceManager(),
  913       getTokenRange(AST.getASTContext().getSourceManager(),
  948             getTokenRange(AST.getASTContext().getSourceManager(),
 1038   auto &SM = Ctx.getSourceManager();
 1041       spellingLocIfSpelled(findName(&ND), Ctx.getSourceManager());
tools/clang/tools/extra/clangd/index/FileIndex.cpp
   63   const auto &SM = AST.getSourceManager();
tools/clang/tools/extra/clangd/index/IndexAction.cpp
  152           auto &SM = D->getASTContext().getSourceManager();
tools/clang/tools/extra/clangd/index/SymbolCollector.cpp
   83   const auto &SM = ND.getASTContext().getSourceManager();
  176   const auto &SM = ND.getASTContext().getSourceManager();
  277   auto &SM = ASTCtx->getSourceManager();
  503   const auto &SM = ASTCtx->getSourceManager();
  554   auto &SM = Ctx.getSourceManager();
  634   const auto &SM = ND.getASTContext().getSourceManager();
  649   const SourceManager &SM = ASTCtx->getSourceManager();
  679     const SourceManager &SM = ASTCtx->getSourceManager();
  734     I.first->second = Opts.FileFilter(ASTCtx->getSourceManager(), FID);
tools/clang/tools/extra/clangd/refactor/Rename.cpp
   82   const auto &SM = ASTCtx.getSourceManager();
  194             AST.getASTContext().getSourceManager(),
tools/clang/tools/extra/clangd/refactor/tweaks/DefineInline.cpp
   72   const SourceManager &SM = FD->getASTContext().getSourceManager();
  159   const SourceManager &SM = FD->getASTContext().getSourceManager();
tools/clang/tools/extra/clangd/refactor/tweaks/DumpAST.cpp
   63   Node->dump(OS, Inputs.AST.getASTContext().getSourceManager());
tools/clang/tools/extra/clangd/refactor/tweaks/ExpandAutoType.cpp
   74   auto& SrcMgr = Inputs.AST.getASTContext().getSourceManager();
  111   auto& SrcMgr = Inputs.AST.getASTContext().getSourceManager();
tools/clang/tools/extra/clangd/refactor/tweaks/RemoveUsingNamespace.cpp
   72   auto &SM = Ctx.getSourceManager();
  130   auto &SM = Ctx.getSourceManager();
  194     if (auto Err = R.add(tooling::Replacement(Ctx.getSourceManager(), Loc,
tools/clang/tools/extra/clangd/refactor/tweaks/SwapIfBranches.cpp
   85   if (auto Err = Result.add(tooling::Replacement(Ctx.getSourceManager(),
   89   if (auto Err = Result.add(tooling::Replacement(Ctx.getSourceManager(),
tools/clang/tools/extra/clangd/unittests/PrintASTTests.cpp
   41       auto Pos = sourceLocToPosition(ND->getASTContext().getSourceManager(),
tools/clang/tools/extra/modularize/Modularize.cpp
  669     SourceManager &SM = Ctx.getSourceManager();
tools/clang/tools/libclang/CIndex.cpp
 6544   SourceManager &SM = FD->getASTContext().getSourceManager();
 8237   StringRef RawText = RC ? RC->getRawText(Context.getSourceManager()) :
 8598           (unsigned long) astContext.getSourceManager().getContentCacheSize());
 8612                                (unsigned long) astContext.getSourceManager()
 8675   SourceManager &sm = Ctx.getSourceManager();
tools/clang/tools/libclang/CIndexHigh.cpp
  186     SourceManager &SM = Ctx.getSourceManager();
  281   SourceManager &SM = Ctx.getSourceManager();
  359     SourceManager &SM = Ctx.getSourceManager();
tools/clang/tools/libclang/CXIndexDataConsumer.cpp
  160   Loc = getASTContext().getSourceManager().getFileLoc(Loc);
  936   SourceManager &SM = Ctx->getSourceManager();
 1014   SourceManager &SM = Ctx->getSourceManager();
 1109   SourceManager &SM = Ctx->getSourceManager();
tools/clang/tools/libclang/CXSourceLocation.h
   42   return translateSourceLocation(Context.getSourceManager(),
   60   return translateSourceRange(Context.getSourceManager(),
tools/clang/tools/libclang/Indexing.cpp
  384     const SourceManager &SM = D->getASTContext().getSourceManager();
tools/clang/unittests/AST/ASTImporterFixtures.cpp
   29       &ToCtx.getSourceManager().getFileManager().getVirtualFileSystem());
tools/clang/unittests/AST/ASTImporterTest.cpp
 1760   SourceManager &ToSM = ToAST->getASTContext().getSourceManager();
 1761   SourceManager &FromSM = FromD->getASTContext().getSourceManager();
 1781   SourceManager &ToSM = ToAST->getASTContext().getSourceManager();
 1782   SourceManager &FromSM = FromD->getASTContext().getSourceManager();
tools/clang/unittests/Rewrite/RewriterTest.cpp
   31     Rewrite = Rewriter(C.getSourceManager(), C.getLangOpts());
tools/clang/unittests/Tooling/FixItTest.cpp
   31   return Loc.printToString(Context->getSourceManager());
tools/clang/unittests/Tooling/SourceCodeTest.cpp
  139                 ValueIs(AsRange(Context->getSourceManager(), Code.range("r"))));
  154                 ValueIs(AsRange(Context->getSourceManager(), Code.range("r"))));
  183                 ValueIs(AsRange(Context->getSourceManager(), Code.range("r"))));
  198                 ValueIs(AsRange(Context->getSourceManager(), Code.range("r"))));
tools/clang/unittests/Tooling/Syntax/TreeTest.cpp
   43         Arena = std::make_unique<syntax::Arena>(Ctx.getSourceManager(),
tools/clang/unittests/Tooling/TestVisitor.h
  176       It->UpdateFor(Name, FullLocation, this->Context->getSourceManager());
tools/lldb/source/Plugins/ExpressionParser/Clang/ClangExpressionDeclMap.cpp
  222         source.getASTContext()->getSourceManager().getFileID(
tools/lldb/source/Plugins/ExpressionParser/Clang/ClangModulesDeclVendor.cpp
  272         m_compiler_instance->getASTContext().getSourceManager();