/external/llvm-project/clang/lib/Basic/ |
D | XRayLists.cpp | 25 AlwaysInstrumentPaths, SM.getFileManager().getVirtualFileSystem())), in XRayFunctionFilter() 27 NeverInstrumentPaths, SM.getFileManager().getVirtualFileSystem())), in XRayFunctionFilter() 29 AttrListPaths, SM.getFileManager().getVirtualFileSystem())), in XRayFunctionFilter()
|
D | SanitizerBlacklist.cpp | 25 BlacklistPaths, SM.getFileManager().getVirtualFileSystem())), in SanitizerBlacklist()
|
/external/llvm-project/clang/lib/Tooling/ |
D | Refactoring.cpp | 60 Rewrite.getSourceMgr().getFileManager(), FileToReplaces)) in applyAllReplacements() 73 FileManager &Files = SM.getFileManager(); in formatAndApplyAllReplacements() 77 Rewrite.getSourceMgr().getFileManager(), FileToReplaces)) { in formatAndApplyAllReplacements()
|
/external/llvm-project/clang/tools/clang-import-test/ |
D | clang-import-test.cpp | 213 Ins->createSourceManager(Ins->getFileManager()); in BuildCompilerInstance() 252 FileManager &getFileManager() { return CI->getFileManager(); } in getFileManager() function 268 {CI.getASTContext(), CI.getFileManager()}); in AddExternalSource() 271 Sources.emplace_back(Import.getASTContext(), Import.getFileManager(), in AddExternalSource() 292 auto FE = CI.getFileManager().getFile(Path); in ParseSource() 346 Sources.push_back({Import.getASTContext(), Import.getFileManager(), in Forget()
|
/external/clang/lib/Frontend/ |
D | ASTMerge.cpp | 56 CI.getFileManager(), in ExecuteAction() 58 Unit->getFileManager(), in ExecuteAction()
|
D | FrontendAction.cpp | 224 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()
|
D | FrontendActions.cpp | 273 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()
|
D | CompilerInstance.cpp | 330 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()
|
/external/llvm-project/clang/lib/Frontend/ |
D | ASTMerge.cpp | 56 ASTImporter Importer(CI.getASTContext(), CI.getFileManager(), in ExecuteAction() 57 Unit->getASTContext(), Unit->getFileManager(), in ExecuteAction()
|
D | FrontendAction.cpp | 497 CI.getFileManager().getFile(OriginalModuleMapName, in prepareToBuildModule() 525 FileManager &FileMgr = CI.getFileManager(); in getInputBufferForModule() 591 CI.setFileManager(&AST->getFileManager()); in BeginSourceFile() 592 CI.createSourceManager(CI.getFileManager()); in BeginSourceFile() 658 CI.setFileManager(&AST->getFileManager()); in BeginSourceFile() 687 CI.createSourceManager(CI.getFileManager()); in BeginSourceFile() 692 if (auto FE = CI.getFileManager().getFile(F, /*openFile*/true)) in BeginSourceFile() 723 FileManager &FileMgr = CI.getFileManager(); in BeginSourceFile() 810 if (auto File = CI.getFileManager().getFile(Filename)) in BeginSourceFile() 959 CI.getFileManager(), CI.getPCHContainerReader(), Cache)) { in Execute()
|
D | CompilerInstance.cpp | 101 return getFileManager().getVirtualFileSystem(); in getVirtualFileSystem() 176 FileManager &FileMgr = CI.getFileManager(); in collectIncludePCH() 412 PP->getFileManager(), PPOpts); in createPreprocessor() 583 auto Entry = PP.getFileManager().getFile(Filename); in EnableCodeCompletion() 826 return InitializeSourceManager(Input, getDiagnostics(), getFileManager(), in InitializeSourceManager() 1028 getFileManager().PrintStats(); in ExecuteAction() 1149 Instance.setFileManager(&ImportingInstance.getFileManager()); 1150 Instance.createSourceManager(Instance.getFileManager()); 1228 ModuleMapFile, ImportingInstance.getFileManager())) in compileModule() 1258 ModuleMapFile = Instance.getFileManager().getVirtualFile( in compileModule() [all …]
|
/external/clang/lib/Lex/ |
D | ModuleMap.cpp | 188 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 …]
|
/external/llvm-project/clang/unittests/AST/ |
D | ASTImporterFixtures.cpp | 29 &ToCtx.getSourceManager().getFileManager().getVirtualFileSystem()); in createVirtualFileIfNeeded() 70 Importer.reset(Creator(ToAST->getASTContext(), ToAST->getFileManager(), in lazyInitImporter() 71 Unit->getASTContext(), Unit->getFileManager(), false, in lazyInitImporter()
|
D | ASTImporterFixtures.h | 259 ASTImporter Importer(ToCtx, ToAST->getFileManager(), FromCtx, in testImport() 260 FromAST->getFileManager(), false); in testImport() 399 To->getASTContext(), To->getFileManager(), From->getASTContext(), in testImportSequence() 400 From->getFileManager(), false)); in testImportSequence()
|
/external/clang/unittests/AST/ |
D | ASTImporterTest.cpp | 71 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/ |
D | BufferSourceTest.cpp | 57 compiler.createSourceManager(compiler.getFileManager()); in TEST()
|
/external/llvm-project/clang-tools-extra/clang-apply-replacements/lib/Tooling/ |
D | ApplyReplacements.cpp | 158 if (auto Entry = SM.getFileManager().getFile(R.getFilePath())) { in groupReplacements() 246 SM.getFileManager().getBufferForFile(File); in applyChanges()
|
/external/llvm-project/clang-tools-extra/unittests/include/common/ |
D | VirtualFileHelper.h | 63 const FileEntry *Entry = SM.getFileManager().getVirtualFile( in mapVirtualFiles()
|
/external/llvm-project/clang/lib/Lex/ |
D | ModuleMap.cpp | 183 expectedToOptional(SourceMgr.getFileManager().getFileRef(Filename)); in findHeader() 303 auto File = SourceMgr.getFileManager().getOptionalFileRef(Path); in resolveAsBuiltinHeader() 420 StringRef DirName = SourceMgr.getFileManager().getCanonicalName(Dir); in findHeaderInUmbrellaDirs() 437 if (auto DirEntry = SourceMgr.getFileManager().getDirectory(DirName)) in findHeaderInUmbrellaDirs() 781 if (auto DirEntry = SourceMgr.getFileManager().getDirectory(DirName)) in isHeaderUnavailableInModule() 943 SourceMgr.getFileManager().getCanonicalName(FrameworkDir); in inferFrameworkModule() 956 FileManager &FileMgr = SourceMgr.getFileManager(); in inferFrameworkModule() 1133 Cb->moduleMapAddUmbrellaHeader(&SourceMgr.getFileManager(), UmbrellaHeader); in setUmbrellaHeader() 2110 inferFrameworkLink(ActiveModule, Directory, SourceMgr.getFileManager()); in parseModuleDecl() 2166 if (auto File = SourceMgr.getFileManager().getFile(FileNameRef)) in parseExternModuleDecl() [all …]
|
/external/llvm-project/clang-tools-extra/clang-tidy/ |
D | ClangTidy.cpp | 198 SourceMgr.getFileManager().getBufferForFile(File); in Finish() 248 auto File = SourceMgr.getFileManager().getFile(FilePath); in getLocation() 388 .getFileManager() in CreateASTConsumer() 584 Reporter.getSourceManager().getFileManager().getVirtualFileSystem(); in handleErrors()
|
/external/llvm-project/clang/unittests/Frontend/ |
D | CompilerInstanceTest.cpp | 72 ASSERT_TRUE(Instance.getFileManager().getFile("vfs-virtual.file")); in TEST()
|
/external/clang/lib/Tooling/ |
D | Refactoring.cpp | 68 FileManager &Files = SM.getFileManager(); in formatAndApplyAllReplacements()
|
/external/llvm-project/clang/docs/ |
D | LibASTImporter.rst | 116 ASTImporter Importer(ToUnit->getASTContext(), ToUnit->getFileManager(), 117 FromUnit->getASTContext(), FromUnit->getFileManager(), 234 ASTImporter Importer(ToUnit->getASTContext(), ToUnit->getFileManager(), 235 FromUnit->getASTContext(), FromUnit->getFileManager(), 318 ASTImporter Importer(ToUnit->getASTContext(), ToUnit->getFileManager(), 319 FromUnit->getASTContext(), FromUnit->getFileManager(), 458 ASTImporter Importer(ToUnit->getASTContext(), ToUnit->getFileManager(), 459 FromUnit->getASTContext(), FromUnit->getFileManager(),
|
/external/clang/lib/StaticAnalyzer/Frontend/ |
D | ModelInjector.cpp | 91 Instance.setFileManager(&CI.getFileManager()); in onBodySynthesis()
|
/external/llvm-project/clang/lib/StaticAnalyzer/Frontend/ |
D | ModelInjector.cpp | 89 Instance.setFileManager(&CI.getFileManager()); in onBodySynthesis()
|