/external/clang/lib/Lex/ |
D | HeaderSearch.cpp | 60 FileMgr(SourceMgr.getFileManager()), FrameworkMap(64), in HeaderSearch() 114 if (const HeaderMap *HM = HeaderMap::Create(FE, FileMgr)) { in CreateHeaderMap() 149 FileMgr.getDirectory(llvm::sys::path::parent_path(ModuleMapPath)); in getModuleFileName() 152 auto DirName = FileMgr.getCanonicalName(Dir); in getModuleFileName() 180 = FileMgr.getDirectory(FrameworkDirName)) { in lookupModule() 356 getTopFrameworkDir(FileManager &FileMgr, StringRef DirName, in getTopFrameworkDir() argument 375 const DirectoryEntry *TopFrameworkDir = FileMgr.getDirectory(DirName); in getTopFrameworkDir() 376 DirName = FileMgr.getCanonicalName(TopFrameworkDir); in getTopFrameworkDir() 384 const DirectoryEntry *Dir = FileMgr.getDirectory(DirName); in getTopFrameworkDir() 406 FileManager &FileMgr = HS.getFileMgr(); in DoFrameworkLookup() local [all …]
|
D | ModuleMap.cpp | 564 FileManager &FileMgr) { in inferFrameworkLink() argument 579 if (FileMgr.getFile(LibName)) { in inferFrameworkLink() 614 FileManager &FileMgr = SourceMgr.getFileManager(); in inferFrameworkModule() local 625 if (const DirectoryEntry *ParentDir = FileMgr.getDirectory(Parent)) { in inferFrameworkModule() 671 const FileEntry *UmbrellaHeader = FileMgr.getFile(UmbrellaName); in inferFrameworkModule() 714 vfs::FileSystem &FS = *FileMgr.getVirtualFileSystem(); in inferFrameworkModule() 722 FileMgr.getDirectory(Dir->getName())) { in inferFrameworkModule() 727 StringRef SubframeworkDirName = FileMgr.getCanonicalName(SubframeworkDir); in inferFrameworkModule() 736 if (FileMgr.getDirectory(SubframeworkDirName) == FrameworkDir) { in inferFrameworkModule() 753 inferFrameworkLink(Result, FrameworkDir, FileMgr); in inferFrameworkModule()
|
/external/clang/lib/Serialization/ |
D | ModuleManager.cpp | 32 const FileEntry *Entry = FileMgr.getFile(Name, /*openFile=*/false, in lookup() 51 const FileEntry *Entry = FileMgr.getFile(Name, /*openFile=*/false, in lookupBuffer() 110 if (!FileMgr.getNoncachedStatValue(TimestampFilename, Status)) in addModule() 130 Buf = FileMgr.getBufferForFile(New->File, in addModule() 237 FileMgr.invalidateCache((*victim)->File); in removeModules() 251 FileMgr.getVirtualFile(FileName, Buffer->getBufferSize(), 0); in addInMemoryBuffer() 297 ModuleManager::ModuleManager(FileManager &FileMgr, in ModuleManager() argument 299 : FileMgr(FileMgr), PCHContainerRdr(PCHContainerRdr), GlobalIndex(), in ModuleManager() 418 File = FileMgr.getFile(FileName, /*openFile=*/true, /*cacheFailure=*/false); in lookupModuleFile()
|
D | GlobalModuleIndex.cpp | 387 FileManager &FileMgr; member in __anon0012ab950411::GlobalModuleIndexBuilder 422 FileManager &FileMgr, const PCHContainerReader &PCHContainerRdr) in GlobalModuleIndexBuilder() argument 423 : FileMgr(FileMgr), PCHContainerRdr(PCHContainerRdr) {} in GlobalModuleIndexBuilder() 501 auto Buffer = FileMgr.getBufferForFile(File, /*isVolatile=*/true); in loadModuleFile() 606 = FileMgr.getFile(ImportedFile, /*openFile=*/false, in loadModuleFile() 768 GlobalModuleIndex::writeIndex(FileManager &FileMgr, in writeIndex() argument 793 GlobalModuleIndexBuilder Builder(FileMgr, PCHContainerRdr); in writeIndex() 812 const FileEntry *ModuleFile = FileMgr.getFile(D->path()); in writeIndex()
|
/external/clang/lib/Format/ |
D | TokenAnalyzer.h | 44 Environment(FileID ID, std::unique_ptr<FileManager> FileMgr, in Environment() argument 49 SM(*VirtualSM), FileMgr(std::move(FileMgr)), in Environment() 75 std::unique_ptr<FileManager> FileMgr; variable
|
D | TokenAnalyzer.cpp | 48 std::unique_ptr<FileManager> FileMgr( in CreateVirtualEnvironment() local 58 new SourceManager(*Diagnostics, *FileMgr)); in CreateVirtualEnvironment() 62 FileID ID = VirtualSM->createFileID(FileMgr->getFile(FileName), in CreateVirtualEnvironment() 72 return llvm::make_unique<Environment>(ID, std::move(FileMgr), in CreateVirtualEnvironment()
|
/external/clang/include/clang/Frontend/ |
D | CompilerInstance.h | 88 IntrusiveRefCntPtr<FileManager> FileMgr; variable 390 bool hasFileManager() const { return FileMgr != nullptr; } in hasFileManager() 394 assert(FileMgr && "Compiler instance has no file manager!"); in getFileManager() 395 return *FileMgr; in getFileManager() 399 BuryPointer(FileMgr.get()); in resetAndLeakFileManager() 400 FileMgr.resetWithoutRelease(); in resetAndLeakFileManager() 633 void createSourceManager(FileManager &FileMgr); 752 FileManager &FileMgr,
|
D | ASTUnit.h | 90 IntrusiveRefCntPtr<FileManager> FileMgr; variable 313 void TranslateStoredDiagnostics(FileManager &FileMgr, 525 const FileManager &getFileManager() const { return *FileMgr; } in getFileManager() 526 FileManager &getFileManager() { return *FileMgr; } in getFileManager() 810 IntrusiveRefCntPtr<DiagnosticsEngine> Diags, FileManager *FileMgr, 891 SourceManager &SourceMgr, FileManager &FileMgr,
|
/external/clang/unittests/AST/ |
D | ASTVectorTest.cpp | 29 : FileMgr(FileMgrOpts), DiagID(new DiagnosticIDs()), in ASTVectorTest() 31 SourceMgr(Diags, FileMgr), Idents(LangOpts, nullptr), in ASTVectorTest() 35 FileManager FileMgr; member in clang::ast::__anone30994a70111::ASTVectorTest
|
/external/clang/lib/ARCMigrate/ |
D | FileRemapper.cpp | 24 FileMgr.reset(new FileManager(FileSystemOptions())); in FileRemapper() 82 const FileEntry *origFE = FileMgr->getFile(fromFilename); in initFromFile() 88 const FileEntry *newFE = FileMgr->getFile(toFilename); in initFromFile() 156 const FileEntry *newE = FileMgr->getFile(tempPath); in flushToFile() 228 const FileEntry *file = FileMgr->getFile(filePath); in getOriginalFile()
|
D | ObjCMT.cpp | 97 FileManager &FileMgr; member in __anon0681c7a60111::ObjCMigrateASTConsumer 117 Remapper(remapper), FileMgr(fileMgr), PPRec(PPRec), PP(PP), in ObjCMigrateASTConsumer() 1975 FileMgr.FixupRelativePath(filePath); in HandleTranslationUnit() 2076 FileManager &FileMgr; member in __anon0681c7a60611::RemapFileParser 2079 RemapFileParser(FileManager &FileMgr) : FileMgr(FileMgr) { } in RemapFileParser() argument 2135 const FileEntry *FE = FileMgr.getFile(Val); in parseEdit() 2164 FileManager &FileMgr, in applyEditsToTemp() argument 2168 SourceManager SM(Diag, FileMgr); in applyEditsToTemp() 2227 FileManager FileMgr(FSOpts); in getFileRemappingsFromFileList() local 2228 RemapFileParser Parser(FileMgr); in getFileRemappingsFromFileList() [all …]
|
/external/clang/unittests/Lex/ |
D | PPConditionalDirectiveRecordTest.cpp | 33 : FileMgr(FileMgrOpts), in PPConditionalDirectiveRecordTest() 36 SourceMgr(Diags, FileMgr), in PPConditionalDirectiveRecordTest() 44 FileManager FileMgr; member in __anon709089bf0111::PPConditionalDirectiveRecordTest
|
D | PPCallbacksTest.cpp | 114 FileMgr(FileSystemOptions(), InMemoryFileSystem), in PPCallbacksTest() 117 SourceMgr(Diags, FileMgr), TargetOpts(new TargetOptions()) { in PPCallbacksTest() 123 FileManager FileMgr; member in __anoned4599ed0111::PPCallbacksTest 142 const DirectoryEntry *DE = FileMgr.getDirectory(SearchPath); in AddFakeHeader()
|
D | LexerTest.cpp | 51 : FileMgr(FileMgrOpts), in LexerTest() 54 SourceMgr(Diags, FileMgr), in LexerTest() 110 FileManager FileMgr; member in __anone5eeeb6d0111::LexerTest
|
/external/clang/unittests/Basic/ |
D | SourceManagerTest.cpp | 34 : FileMgr(FileMgrOpts), in SourceManagerTest() 37 SourceMgr(Diags, FileMgr), in SourceManagerTest() 44 FileManager FileMgr; member in __anon000ef1520111::SourceManagerTest 196 const FileEntry *headerFile = FileMgr.getVirtualFile("/test-header.h", in TEST_F() 296 const FileEntry *headerFile = FileMgr.getVirtualFile("/test-header.h", in TEST_F()
|
/external/clang/lib/Frontend/ |
D | CompilerInstance.cpp | 87 FileMgr = Value; in setFileManager() 237 FileMgr = new FileManager(getFileSystemOpts(), VirtualFileSystem); in createFileManager() 242 void CompilerInstance::createSourceManager(FileManager &FileMgr) { in createSourceManager() argument 243 SourceMgr = new SourceManager(getDiagnostics(), FileMgr); in createSourceManager() 250 FileManager &FileMgr, in InitializeFileRemapping() argument 256 FileMgr.getVirtualFile(RB.first, RB.second->getBufferSize(), 0); in InitializeFileRemapping() 273 const FileEntry *ToFile = FileMgr.getFile(RF.second); in InitializeFileRemapping() 281 FileMgr.getVirtualFile(RF.first, ToFile->getSize(), 0); in InitializeFileRemapping() 562 FileMgr->FixupRelativePath(NewOutFile); in clearOutputFiles() 730 FileManager &FileMgr, SourceManager &SourceMgr, HeaderSearch *HS, in InitializeSourceManager() argument [all …]
|
D | ASTUnit.cpp | 635 assert(FileMgr); in getBufferForFile() 636 auto Buffer = FileMgr->getBufferForFile(Filename); in getBufferForFile() 674 AST->FileMgr = new FileManager(FileSystemOpts, VFS); in LoadFromASTFile() 1081 if (!FileMgr) { in Parse() 1083 FileMgr = &Clang->getFileManager(); in Parse() 1085 SourceMgr = new SourceManager(getDiagnostics(), *FileMgr, in Parse() 1387 if (FileMgr->getNoncachedStatValue(R.second, Status)) { in getMainBufferWithPrecompiledPreamble() 1403 if (FileMgr->getNoncachedStatValue(RB.first, Status)) { in getMainBufferWithPrecompiledPreamble() 1418 if (FileMgr->getNoncachedStatValue(F->first(), Status)) { in getMainBufferWithPrecompiledPreamble() 1496 Preamble.assign(FileMgr->getFile(MainFilename), in getMainBufferWithPrecompiledPreamble() [all …]
|
D | FrontendActions.cpp | 184 collectModuleHeaderIncludes(const LangOptions &LangOpts, FileManager &FileMgr, in collectModuleHeaderIncludes() argument 216 vfs::FileSystem &FS = *FileMgr.getVirtualFileSystem(); in collectModuleHeaderIncludes() 226 const FileEntry *Header = FileMgr.getFile(Dir->getName()); in collectModuleHeaderIncludes() 261 LangOpts, FileMgr, ModMap, *Sub, Includes)) in collectModuleHeaderIncludes() 349 FileManager &FileMgr = CI.getFileManager(); in BeginSourceFileAction() local 358 CI.getLangOpts(), FileMgr, in BeginSourceFileAction()
|
D | ModuleDependencyCollector.cpp | 51 void moduleMapAddUmbrellaHeader(FileManager *FileMgr, in moduleMapAddUmbrellaHeader() 75 if (FileMgr->getFile(AltHeaderFilename)) in moduleMapAddUmbrellaHeader()
|
D | SerializedDiagnosticReader.cpp | 22 FileManager FileMgr(FO); in readDiagnostics() local 24 auto Buffer = FileMgr.getBufferForFile(File); in readDiagnostics()
|
D | FrontendAction.cpp | 281 FileManager &FileMgr = CI.getFileManager(); in BeginSourceFile() local 285 if (const DirectoryEntry *PCHDir = FileMgr.getDirectory(PCHInclude)) { in BeginSourceFile() 294 Dir->path(), FileMgr, CI.getPCHContainerReader(), in BeginSourceFile()
|
/external/clang/tools/libclang/ |
D | CIndexCodeCompletion.cpp | 252 AllocatedCXCodeCompleteResults(IntrusiveRefCntPtr<FileManager> FileMgr); 270 IntrusiveRefCntPtr<FileManager> FileMgr; member 322 IntrusiveRefCntPtr<FileManager> FileMgr) in AllocatedCXCodeCompleteResults() argument 327 FileMgr(FileMgr), SourceMgr(new SourceManager(*Diag, *FileMgr)), in AllocatedCXCodeCompleteResults() 709 Results->LangOpts, *Results->SourceMgr, *Results->FileMgr, in clang_codeCompleteAt_Impl()
|
/external/clang/include/clang/Serialization/ |
D | ModuleManager.h | 51 FileManager &FileMgr; variable 119 explicit ModuleManager(FileManager &FileMgr,
|
D | GlobalModuleIndex.h | 201 static ErrorCode writeIndex(FileManager &FileMgr,
|
/external/clang/include/clang/ARCMigrate/ |
D | FileRemapper.h | 33 std::unique_ptr<FileManager> FileMgr; variable
|