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

References

tools/clang/lib/ARCMigrate/ObjCMT.cpp
  207     PPRec = new PPConditionalDirectiveRecord(CompInst->getSourceManager());
 2022     PPRec = new PPConditionalDirectiveRecord(CI.getSourceManager());
tools/clang/lib/CodeGen/CodeGenAction.cpp
  981   SourceManager &SM = CI.getSourceManager();
 1055     SourceManager &SM = CI.getSourceManager();
tools/clang/lib/Frontend/CompilerInstance.cpp
  387       new HeaderSearch(getHeaderSearchOptsPtr(), getSourceManager(),
  391                                       getSourceManager(), *HeaderInfo, *this,
  815       Input, getDiagnostics(), getFileManager(), getSourceManager(),
  961       getSourceManager().clearIDTables();
 1124   SourceManager &SourceMgr = Instance.getSourceManager();
 1126     ImportingInstance.getSourceManager().getModuleBuildStack());
 1128     FullSourceLoc(ImportLoc, ImportingInstance.getSourceManager()));
 1234       Instance.getSourceManager().overrideFileContents(
 1481     if (getSourceManager().getModuleBuildStack().empty() &&
 1774       ModuleBuildStack ModPath = getSourceManager().getModuleBuildStack();
 2024     Other.getSourceManager().overrideFileContents(
tools/clang/lib/Frontend/FrontendAction.cpp
  234   auto &SourceMgr = CI.getSourceManager();
  279     CI.getSourceManager().AddLineNote(
  419   auto &SrcMgr = CI.getSourceManager();
  433       Offset = CI.getSourceManager().getDecomposedLoc(EndOfLineMarker).second;
  493     if (*OriginalModuleMap != CI.getSourceManager().getFileEntryForID(
  494                                  CI.getSourceManager().getMainFileID())) {
  504   SourceManager &SourceMgr = CI.getSourceManager();
  581     CI.getSourceManager().initializeForReplay(AST->getSourceManager());
  679       CI.getSourceManager().setFileIsTransient(*FE);
  684     CI.getSourceManager().setAllFilesAreTransient(true);
  783       auto &SourceMgr = CI.getSourceManager();
  989     CI.getSourceManager().PrintStats();
tools/clang/lib/Frontend/FrontendActions.cpp
  792   const SourceManager& SM = CI.getSourceManager();
tools/clang/lib/Frontend/PrecompiledPreamble.cpp
  370   SourceManager &SourceMgr = Clang->getSourceManager();
tools/clang/lib/Frontend/Rewrite/FrontendActions.cpp
  105   Rewriter.reset(new FixItRewriter(CI.getDiagnostics(), CI.getSourceManager(),
  131       FixItRewriter Rewriter(CI.getDiagnostics(), CI.getSourceManager(),
tools/clang/lib/StaticAnalyzer/Frontend/ModelInjector.cpp
   47   SourceManager &SM = CI.getSourceManager();
tools/clang/tools/clang-check/ClangCheck.cpp
  128     Rewriter.reset(new FixItRewriter(CI.getDiagnostics(), CI.getSourceManager(),
tools/clang/tools/clang-import-test/clang-import-test.cpp
  217       CI.getLangOpts(), CI.getSourceManager(),
  286   SourceManager &SM = CI.getSourceManager();
tools/clang/tools/extra/clang-include-fixer/IncludeFixer.cpp
  111       Compiler.getSourceManager(),
  166     FileID FID = CI->getSourceManager().getFileID(Loc);
  167     StringRef Code = CI->getSourceManager().getBufferData(FID);
  169         CI->getSourceManager().getLocForStartOfFile(FID);
  172         getIncludeFixerContext(CI->getSourceManager(),
  211   if (!CI->getSourceManager().isWrittenInMainFile(Typo.getLoc()))
  229         Lexer::getSourceText(Range, CI->getSourceManager(), CI->getLangOpts());
  257   const auto &SM = CI->getSourceManager();
  361   LLVM_DEBUG(CI->getSourceManager()
  362                  .getLocForStartOfFile(CI->getSourceManager().getMainFileID())
  364                  .print(llvm::dbgs(), CI->getSourceManager()));
  366   llvm::StringRef FileName = CI->getSourceManager().getFilename(
  367       CI->getSourceManager().getLocForStartOfFile(
  368           CI->getSourceManager().getMainFileID()));
tools/clang/tools/extra/clang-include-fixer/find-all-symbols/FindAllSymbolsAction.cpp
   31       Reporter, &Compiler.getSourceManager(), &Collector));
tools/clang/tools/extra/clang-move/Move.cpp
  480       &Compiler.getSourceManager(), &MoveTool));
tools/clang/tools/extra/clang-tidy/ClangTidy.cpp
  376   SourceManager *SM = &Compiler.getSourceManager();
  381   auto WorkingDir = Compiler.getSourceManager()
tools/clang/tools/extra/clang-tidy/ExpandModularHeadersPPCallbacks.cpp
   59       Sources(Compiler.getSourceManager()),
tools/clang/tools/extra/clangd/CodeComplete.cpp
 1116         collectIncludeStructureCallback(Clang->getSourceManager(), Includes));
tools/clang/tools/extra/clangd/ParsedAST.cpp
  126                            Clang.getSourceManager(), PP, Clang.getLangOpts())));
  305       Check->registerPPCallbacks(Clang->getSourceManager(), PP, PP);
  342       collectIncludeStructureCallback(Clang->getSourceManager(), &Includes));
  349       std::make_unique<CollectMainFileMacros>(Clang->getSourceManager(),
tools/clang/tools/extra/clangd/Preamble.cpp
   48     SourceMgr = &CI.getSourceManager();
tools/clang/tools/extra/clangd/index/IndexAction.cpp
  147           std::make_unique<IncludeGraphCollector>(CI.getSourceManager(), IG));
tools/clang/tools/extra/clangd/unittests/HeadersTests.cpp
   70         collectIncludeStructureCallback(Clang->getSourceManager(), &Includes));
tools/clang/tools/extra/unittests/clang-tidy/ClangTidyTest.h
   59     Context.setSourceManager(&Compiler.getSourceManager());
   71       Check->registerPPCallbacks(Compiler.getSourceManager(), PP, PP);
tools/clang/unittests/CodeGen/BufferSourceTest.cpp
   72     clang::SourceManager &sm = compiler.getSourceManager();
tools/clang/unittests/CodeGen/CodeGenExternalTest.cpp
  292     clang::SourceManager &sm = compiler.getSourceManager();
tools/clang/unittests/CodeGen/TBAAMetadataTest.cpp
   69     clang::SourceManager &sm = compiler.getSourceManager();
tools/clang/unittests/Tooling/RefactoringTest.cpp
  680       Visitor->SM = &compiler.getSourceManager();
tools/lldb/source/Plugins/ExpressionParser/Clang/ClangExpressionParser.cpp
  590         *decl_vendor, *clang_persistent_vars, m_compiler->getSourceManager()));
  891   clang::SourceManager &source_mgr = m_compiler->getSourceManager();
 1080   clang::SourceManager &source_manager = m_compiler->getSourceManager();
tools/lldb/source/Plugins/ExpressionParser/Clang/ClangModulesDeclVendor.cpp
  520                   m_compiler_instance->getSourceManager().getCharacterData(
tools/lldb/tools/lldb-instr/Instrument.cpp
  337     MyRewriter.setSourceMgr(CI.getSourceManager(), CI.getLangOpts());