/external/clang/lib/Lex/ |
D | HeaderSearch.cpp | 59 : HSOpts(HSOpts), Diags(Diags), FileMgr(SourceMgr.getFileManager()), 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() 181 = FileMgr.getDirectory(FrameworkDirName)) { in lookupModule() 355 getTopFrameworkDir(FileManager &FileMgr, StringRef DirName, in getTopFrameworkDir() argument 374 const DirectoryEntry *TopFrameworkDir = FileMgr.getDirectory(DirName); in getTopFrameworkDir() 375 DirName = FileMgr.getCanonicalName(TopFrameworkDir); in getTopFrameworkDir() 383 const DirectoryEntry *Dir = FileMgr.getDirectory(DirName); in getTopFrameworkDir() 405 FileManager &FileMgr = HS.getFileMgr(); in DoFrameworkLookup() local [all …]
|
D | ModuleMap.cpp | 576 FileManager &FileMgr) { in inferFrameworkLink() argument 591 if (FileMgr.getFile(LibName)) { in inferFrameworkLink() 626 FileManager &FileMgr = SourceMgr.getFileManager(); in inferFrameworkModule() local 637 if (const DirectoryEntry *ParentDir = FileMgr.getDirectory(Parent)) { in inferFrameworkModule() 683 const FileEntry *UmbrellaHeader = FileMgr.getFile(UmbrellaName); in inferFrameworkModule() 734 = FileMgr.getDirectory(Dir->path())) { in inferFrameworkModule() 739 StringRef SubframeworkDirName = FileMgr.getCanonicalName(SubframeworkDir); in inferFrameworkModule() 748 if (FileMgr.getDirectory(SubframeworkDirName) == FrameworkDir) { in inferFrameworkModule() 765 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 __anon58a009e40411::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/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::__anon662113f60111::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 __anon873bb7b50111::ObjCMigrateASTConsumer 117 Remapper(remapper), FileMgr(fileMgr), PPRec(PPRec), PP(PP), in ObjCMigrateASTConsumer() 1977 FileMgr.FixupRelativePath(filePath); in HandleTranslationUnit() 2078 FileManager &FileMgr; member in __anon873bb7b50611::RemapFileParser 2081 RemapFileParser(FileManager &FileMgr) : FileMgr(FileMgr) { } in RemapFileParser() argument 2137 const FileEntry *FE = FileMgr.getFile(Val); in parseEdit() 2166 FileManager &FileMgr, in applyEditsToTemp() argument 2170 SourceManager SM(Diag, FileMgr); in applyEditsToTemp() 2229 FileManager FileMgr(FSOpts); in getFileRemappingsFromFileList() local 2230 RemapFileParser Parser(FileMgr); in getFileRemappingsFromFileList() [all …]
|
/external/clang/unittests/Lex/ |
D | PPConditionalDirectiveRecordTest.cpp | 34 : FileMgr(FileMgrOpts), in PPConditionalDirectiveRecordTest() 37 SourceMgr(Diags, FileMgr), in PPConditionalDirectiveRecordTest() 45 FileManager FileMgr; member in __anonae60f8ae0111::PPConditionalDirectiveRecordTest
|
D | PPCallbacksTest.cpp | 114 FileMgr(FileSystemOptions(), InMemoryFileSystem), in PPCallbacksTest() 117 SourceMgr(Diags, FileMgr), TargetOpts(new TargetOptions()) { in PPCallbacksTest() 123 FileManager FileMgr; member in __anon943a28fc0111::PPCallbacksTest 142 const DirectoryEntry *DE = FileMgr.getDirectory(SearchPath); in AddFakeHeader()
|
D | LexerTest.cpp | 52 : FileMgr(FileMgrOpts), in LexerTest() 55 SourceMgr(Diags, FileMgr), in LexerTest() 105 FileManager FileMgr; member in __anon7ce51b3c0111::LexerTest
|
/external/clang/unittests/Basic/ |
D | SourceManagerTest.cpp | 35 : FileMgr(FileMgrOpts), in SourceManagerTest() 38 SourceMgr(Diags, FileMgr), in SourceManagerTest() 45 FileManager FileMgr; member in __anon1dc26fe10111::SourceManagerTest 193 const FileEntry *headerFile = FileMgr.getVirtualFile("/test-header.h", in TEST_F() 291 const FileEntry *headerFile = FileMgr.getVirtualFile("/test-header.h", in TEST_F()
|
/external/clang/lib/Frontend/ |
D | CompilerInstance.cpp | 85 FileMgr = Value; in setFileManager() 235 FileMgr = new FileManager(getFileSystemOpts(), VirtualFileSystem); in createFileManager() 240 void CompilerInstance::createSourceManager(FileManager &FileMgr) { in createSourceManager() argument 241 SourceMgr = new SourceManager(getDiagnostics(), FileMgr); in createSourceManager() 248 FileManager &FileMgr, in InitializeFileRemapping() argument 254 FileMgr.getVirtualFile(RB.first, RB.second->getBufferSize(), 0); in InitializeFileRemapping() 271 const FileEntry *ToFile = FileMgr.getFile(RF.second); in InitializeFileRemapping() 279 FileMgr.getVirtualFile(RF.first, ToFile->getSize(), 0); in InitializeFileRemapping() 556 FileMgr->FixupRelativePath(NewOutFile); in clearOutputFiles() 722 FileManager &FileMgr, 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() 1389 if (FileMgr->getNoncachedStatValue(R.second, Status)) { in getMainBufferWithPrecompiledPreamble() 1424 if (FileMgr->getNoncachedStatValue(F->first(), Status)) { in getMainBufferWithPrecompiledPreamble() 1488 Preamble.assign(FileMgr->getFile(MainFilename), in getMainBufferWithPrecompiledPreamble() 1715 AST->FileMgr = new FileManager(AST->FileSystemOpts, VFS); in create() [all …]
|
D | FrontendActions.cpp | 182 collectModuleHeaderIncludes(const LangOptions &LangOpts, FileManager &FileMgr, in collectModuleHeaderIncludes() argument 226 const FileEntry *Header = FileMgr.getFile(Dir->path()); in collectModuleHeaderIncludes() 263 LangOpts, FileMgr, ModMap, *Sub, Includes)) in collectModuleHeaderIncludes() 349 FileManager &FileMgr = CI.getFileManager(); in BeginSourceFileAction() local 359 CI.getLangOpts(), FileMgr, in BeginSourceFileAction()
|
D | SerializedDiagnosticReader.cpp | 22 FileManager FileMgr(FO); in readDiagnostics() local 24 auto Buffer = FileMgr.getBufferForFile(File); in readDiagnostics()
|
D | FrontendAction.cpp | 263 FileManager &FileMgr = CI.getFileManager(); in BeginSourceFile() local 267 if (const DirectoryEntry *PCHDir = FileMgr.getDirectory(PCHInclude)) { in BeginSourceFile() 276 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,
|
D | ASTReader.h | 373 FileManager &FileMgr; variable 1328 FileManager &getFileManager() const { return FileMgr; } in getFileManager() 1487 getOriginalSourceFile(const std::string &ASTFileName, FileManager &FileMgr, 1495 readASTFileControlBlock(StringRef Filename, FileManager &FileMgr, 1502 static bool isAcceptableASTFile(StringRef Filename, FileManager &FileMgr,
|
/external/clang/include/clang/Lex/ |
D | HeaderSearch.h | 153 FileManager &FileMgr; variable 262 FileManager &getFileMgr() const { return FileMgr; } in getFileMgr() 642 FileManager &FileMgr);
|
/external/clang/include/clang/ARCMigrate/ |
D | FileRemapper.h | 33 std::unique_ptr<FileManager> FileMgr; variable
|
/external/clang/lib/Basic/ |
D | FileManager.cpp | 105 static const DirectoryEntry *getDirectoryFromFile(FileManager &FileMgr, in getDirectoryFromFile() argument 119 return FileMgr.getDirectory(DirName, CacheFailure); in getDirectoryFromFile()
|