Home
last modified time | relevance | path

Searched refs:getFileManager (Results 1 – 25 of 30) sorted by relevance

12

/external/clang/lib/Frontend/
DASTMerge.cpp56 CI.getFileManager(), in ExecuteAction()
58 Unit->getFileManager(), in ExecuteAction()
DFrontendAction.cpp224 CI.setFileManager(&AST->getFileManager()); in BeginSourceFile()
256 CI.createSourceManager(CI.getFileManager()); in BeginSourceFile()
281 FileManager &FileMgr = CI.getFileManager(); in BeginSourceFile()
408 if (auto *File = CI.getFileManager().getFile(Filename)) in BeginSourceFile()
466 GlobalModuleIndex::writeIndex(CI.getFileManager(), in Execute()
DFrontendActions.cpp273 CI.getFileManager().getFile(Filename, /*openFile*/true); in BeginSourceFileAction()
283 if (const auto *FE = CI.getFileManager().getFile(F, /*openFile*/true)) in BeginSourceFileAction()
349 FileManager &FileMgr = CI.getFileManager(); in BeginSourceFileAction()
609 getCurrentFile(), getCompilerInstance().getFileManager(), in ExecuteAction()
747 auto Buffer = CI.getFileManager().getBufferForFile(getCurrentFile()); in ExecuteAction()
DCompilerInstance.cpp330 PP->getFileManager(), PPOpts); in createPreprocessor()
481 const FileEntry *Entry = PP.getFileManager().getFile(Filename); in EnableCodeCompletion()
722 Input, getDiagnostics(), getFileManager(), getSourceManager(), in InitializeSourceManager()
901 getFileManager().PrintStats(); in ExecuteAction()
996 Instance.setFileManager(&ImportingInstance.getFileManager()); in compileModuleImpl()
997 Instance.createSourceManager(Instance.getFileManager()); in compileModuleImpl()
1027 ModuleMapFile = Instance.getFileManager().getVirtualFile( in compileModuleImpl()
1697 getFileManager(), getPCHContainerReader(), in loadGlobalModuleIndex()
1724 getFileManager(), getPCHContainerReader(), in loadGlobalModuleIndex()
DASTUnit.cpp677 AST->getFileManager(), in LoadFromASTFile()
1083 FileMgr = &Clang->getFileManager(); in Parse()
1103 Clang->setFileManager(&getFileManager()); in Parse()
1142 TranslateStoredDiagnostics(getFileManager(), getSourceManager(), in Parse()
1571 Clang->getFileManager())); in getMainBufferWithPrecompiledPreamble()
1621 const FileEntry *File = Clang->getFileManager().getFile(Filename); in getMainBufferWithPrecompiledPreamble()
1818 Clang->setFileManager(&AST->getFileManager()); in LoadFromCompilerInvocationAction()
DCacheTokens.cpp587 PP.getFileManager().addStatCache(std::move(StatCacheOwner), in CacheTokens()
597 PP.getFileManager().removeStatCache(StatCache); in CacheTokens()
DChainedIncludesSource.cpp157 Clang->createSourceManager(Clang->getFileManager()); in createChainedIncludesSource()
DInitPreprocessor.cpp104 ASTReader::getOriginalSourceFile(ImplicitIncludePCH, PP.getFileManager(), in AddImplicitIncludePCH()
/external/clang/lib/Lex/
DModuleMap.cpp188 StringRef DirName = SourceMgr.getFileManager().getCanonicalName(Dir); in findHeaderInUmbrellaDirs()
205 Dir = SourceMgr.getFileManager().getDirectory(DirName); in findHeaderInUmbrellaDirs()
512 Dir = SourceMgr.getFileManager().getDirectory(DirName); in isHeaderUnavailableInModule()
601 SourceMgr.getFileManager().getCanonicalName(FrameworkDir); in inferFrameworkModule()
614 FileManager &FileMgr = SourceMgr.getFileManager(); in inferFrameworkModule()
768 Cb->moduleMapAddUmbrellaHeader(&SourceMgr.getFileManager(), UmbrellaHeader); in setUmbrellaHeader()
1546 inferFrameworkLink(ActiveModule, Directory, SourceMgr.getFileManager()); in parseModuleDecl()
1602 if (const FileEntry *File = SourceMgr.getFileManager().getFile(FileNameRef)) in parseExternModuleDecl()
1784 File = SourceMgr.getFileManager().getFile(RelativePathName); in parseHeaderDecl()
1796 File = SourceMgr.getFileManager().getFile(FullPathName); in parseHeaderDecl()
[all …]
DPPLexerChange.cpp503 getFileManager().getFile(Entry->getName())) in HandleEndOfFile()
/external/clang/unittests/AST/
DASTImporterTest.cpp71 ToCtx.getSourceManager().getFileManager().getVirtualFileSystem().get()); in testImport()
77 ASTImporter Importer(ToCtx, ToAST->getFileManager(), in testImport()
78 FromCtx, FromAST->getFileManager(), false); in testImport()
/external/clang/unittests/CodeGen/
DBufferSourceTest.cpp57 compiler.createSourceManager(compiler.getFileManager()); in TEST()
/external/clang/lib/Tooling/
DRefactoring.cpp68 FileManager &Files = SM.getFileManager(); in formatAndApplyAllReplacements()
/external/clang/lib/StaticAnalyzer/Frontend/
DModelInjector.cpp91 Instance.setFileManager(&CI.getFileManager()); in onBodySynthesis()
/external/clang/include/clang/Frontend/
DASTUnit.h525 const FileManager &getFileManager() const { return *FileMgr; } in getFileManager() function
526 FileManager &getFileManager() { return *FileMgr; } in getFileManager() function
DCompilerInstance.h393 FileManager &getFileManager() const { in getFileManager() function
/external/clang/lib/CodeGen/
DCodeGenAction.cpp432 FileManager &FileMgr = SourceMgr.getFileManager(); in getBestLocationFromDebugLoc()
726 auto BCBuf = CI.getFileManager().getBufferForFile(LinkBCFile); in CreateASTConsumer()
/external/clang/tools/libclang/
DIndexing.cpp368 CI.getFileManager().getFile(PPOpts.ImplicitPCHInclude)); in CreateASTConsumer()
669 FileManager &FileMgr = Unit->getFileManager(); in clang_indexTranslationUnit_Impl()
DCIndexCodeCompletion.cpp694 &AST->getFileManager()); in clang_codeCompleteAt_Impl()
/external/clang/lib/Tooling/Core/
DReplacement.cpp58 const FileEntry *Entry = SM.getFileManager().getFile(FilePath); in apply()
/external/clang/lib/ARCMigrate/
DARCMT.cpp612 Unit->getFileManager().FixupRelativePath(filePath); in applyTransform()
DObjCMT.cpp201 MigrateDir, ObjCMigAction, Remapper, CompInst->getFileManager(), PPRec, in CreateASTConsumer()
2030 CI.getFileManager(), PPRec, CI.getPreprocessor(), in CreateASTConsumer()
/external/clang/lib/Serialization/
DASTReader.cpp616 PP.getFileManager(), in ReadPreprocessorOptions()
1551 FileManager &FileMgr = Reader.getFileManager(); in EqualKey()
1622 FileManager &FileMgr = Reader.getFileManager(); in ReadData()
2418 PP.getFileManager().getDirectory(Blob); in ReadControlBlock()
4551 if (auto *Umbrella = PP.getFileManager().getFile(Filename)) { in ReadSubmoduleBlock()
4589 if (auto *Umbrella = PP.getFileManager().getDirectory(Dirname)) { in ReadSubmoduleBlock()
4945 File = PP.getFileManager().getFile(FullFileName); in ReadPreprocessedEntity()
8698 FileMgr(PP.getFileManager()), PCHContainerRdr(PCHContainerRdr), in ASTReader()
8700 Consumer(nullptr), ModuleMgr(PP.getFileManager(), PCHContainerRdr), in ASTReader()
DASTWriter.cpp1277 cleanPathForOutput(Context.getSourceManager().getFileManager(), BaseDir); in WriteControlBlock()
1423 Context.getSourceManager().getFileManager().getFileSystemOpts(); in WriteControlBlock()
1522 SM.getFileManager().makeAbsolutePath(OutputPath); in WriteControlBlock()
2601 auto TopHeaders = Mod->getTopHeaders(PP->getFileManager()); in WriteSubmodules()
4009 cleanPathForOutput(Context->getSourceManager().getFileManager(), Path); in PreparePathForOutput()
/external/clang/include/clang/Basic/
DSourceManager.h720 FileManager &getFileManager() const { return FileMgr; } in getFileManager() function

12