/llvm-project/clang/lib/Basic/ |
H A D | FileManager.cpp | 1 //===--- FileManager.cpp - File System Probing and Caching ----------------===// 9 // This file implements the FileManager interface. 19 #include "clang/Basic/FileManager.h" 46 FileManager::FileManager(const FileSystemOptions &FSO, in FileManager() function in FileManager 56 FileManager::~FileManager() = default; 58 void FileManager::setStatCache(std::unique_ptr<FileSystemStatCache> statCache) { in setStatCache() 63 void FileManager::clearStatCache() { StatCache.reset(); } in clearStatCache() 68 getDirectoryFromFile(FileManager [all...] |
/llvm-project/clang/include/clang/Tooling/ |
H A D | Tooling.h | 33 #include "clang/Basic/FileManager.h" 87 FileManager *Files, 104 FileManager *Files, 254 /// \param Files The FileManager used for the execution. Class does not take 259 std::unique_ptr<FrontendAction> FAction, FileManager *Files, 267 /// \param Files The FileManager used for the execution. 271 FileManager *Files, 304 FileManager *Files; 337 IntrusiveRefCntPtr<FileManager> Files = nullptr); in setDiagnosticConsumer() 380 FileManager [all...] |
/llvm-project/clang/include/clang/AST/ |
H A D | ExternalASTMerger.h | 10 // from several different ASTContext/FileManager pairs 71 /// ASTImporters require both ASTContext and FileManager to be able to 75 FileManager &FM; 79 /// ASTImporters require both ASTContext and FileManager to be able to 85 FileManager &FM; 95 ImporterSource(ASTContext &AST, FileManager &FM, const OriginMap &OM, 99 FileManager &getFileManager() const { return FM; } in getFileManager()
|
H A D | ASTImporter.h | 44 class FileManager; variable 211 FileManager &ToFileManager, &FromFileManager; 289 ASTImporter(ASTContext &ToContext, FileManager &ToFileManager, 290 ASTContext &FromContext, FileManager &FromFileManager, 531 FileManager &getToFileManager() const { return ToFileManager; } 534 FileManager &getFromFileManager() const { return FromFileManager; }
|
/llvm-project/clang/include/clang/Basic/ |
H A D | FileManager.h | 1 //===--- FileManager.h - File System Probing and Caching --------*- C++ -*-===// 10 /// Defines the clang::FileManager interface and associated types. 53 class FileManager : public RefCountedBase<FileManager> { 104 /// The file entry for stdin, if it has been accessed through the FileManager. 117 /// Statistics gathered during the lifetime of the FileManager. 142 FileManager(const FileSystemOptions &FileSystemOpts, 144 ~FileManager(); 147 /// the FileManager. 149 /// Ownership of this object is transferred to the FileManager [all...] |
/llvm-project/clang-tools-extra/include-cleaner/include/clang-include-cleaner/ |
H A D | Record.h | 39 class FileManager; variable 71 FileManager &FM) const; 73 FileManager &FM) const;
|
/llvm-project/clang/include/clang/Frontend/ |
H A D | CompilerInstance.h | 52 class FileManager; 94 IntrusiveRefCntPtr<FileManager> FileMgr; 446 FileManager &getFileManager() const { in getFileManager() 451 IntrusiveRefCntPtr<FileManager> getFileManagerPtr() const { in getFileManagerPtr() 462 void setFileManager(FileManager *Value); 718 FileManager * 722 void createSourceManager(FileManager &FileMgr); 839 FileManager &FileMgr, in setOutputStream() 51 class FileManager; global() variable
|
H A D | ASTUnit.h | 69 class FileManager; variable 111 IntrusiveRefCntPtr<FileManager> FileMgr; 260 void TranslateStoredDiagnostics(FileManager &FileMgr, 479 const FileManager &getFileManager() const { return *FileMgr; } in getFileManager() 480 FileManager &getFileManager() { return *FileMgr; } in getFileManager() 787 IntrusiveRefCntPtr<DiagnosticsEngine> Diags, FileManager *FileMgr, 905 SourceManager &SourceMgr, FileManager &FileMgr,
|
/llvm-project/clang/lib/Tooling/ |
H A D | Tooling.cpp | 18 #include "clang/Basic/FileManager.h" 218 llvm::IntrusiveRefCntPtr<FileManager> Files( in runToolOnCodeWithArgs() 219 new FileManager(FileSystemOptions(), VFS)); in runToolOnCodeWithArgs() 354 FileManager *Files, std::shared_ptr<PCHContainerOperations> PCHContainerOps) in ToolInvocation() 360 std::unique_ptr<FrontendAction> FAction, FileManager *Files, in ToolInvocation() 412 // change this at the FileManager level instead. in run() 446 std::shared_ptr<CompilerInvocation> Invocation, FileManager *Files, in runInvocation() 477 IntrusiveRefCntPtr<FileManager> Files) in ClangTool() 483 : new FileManager(FileSystemOptions(), OverlayFileSystem)) { in ClangTool() 652 FileManager *File in runInvocation() [all...] |
/llvm-project/clang/unittests/Tooling/ |
H A D | ToolingTest.cpp | 196 llvm::IntrusiveRefCntPtr<FileManager> Files( in TEST() 197 new FileManager(FileSystemOptions(), OverlayFileSystem)); 222 llvm::IntrusiveRefCntPtr<FileManager> Files( in TEST() 223 new FileManager(FileSystemOptions(), OverlayFileSystem)); in TEST() 248 llvm::IntrusiveRefCntPtr<FileManager> Files( in TEST() 249 new FileManager(FileSystemOptions(), OverlayFileSystem)); in TEST() 277 llvm::IntrusiveRefCntPtr<FileManager> Files( in TEST() 278 new FileManager(FileSystemOptions(), OverlayFileSystem)); in TEST() 323 llvm::IntrusiveRefCntPtr<FileManager> Files( in TEST() 324 new FileManager(FileSystemOption in TEST() [all...] |
/llvm-project/clang-tools-extra/include-cleaner/unittests/ |
H A D | TypesTest.cpp | 31 FileManager FM(FileSystemOptions{}); in TEST() 51 FileManager FM(FileSystemOptions{}); in TEST() 83 FileManager FM(FileSystemOptions{}); in TEST()
|
/llvm-project/clang-tools-extra/clangd/unittests/ |
H A D | CanonicalIncludesTests.cpp | 25 FileEntryRef addFile(llvm::vfs::InMemoryFileSystem &FS, FileManager &FM, in addFile() 35 FileManager Files(FileSystemOptions(), InMemFS); in TEST()
|
/llvm-project/clang/unittests/Frontend/ |
H A D | ASTUnitTest.cpp | 11 #include "clang/Basic/FileManager.h" 56 FileManager *FileMgr = new FileManager(FileSystemOptions(), VFS); in createASTUnit() 146 FileManager *FileMgr = new FileManager(FileSystemOptions(), InMemoryFs); in TEST_F()
|
H A D | ReparseWorkingDirTest.cpp | 10 #include "clang/Basic/FileManager.h" 64 FileManager *FileMgr = new FileManager(CI->getFileSystemOpts(), VFS); in ParseAST()
|
/llvm-project/clang/include/clang/InstallAPI/ |
H A D | Context.h | 47 FileManager *FM = nullptr; 96 std::string findLibrary(StringRef InstallName, FileManager &FM,
|
H A D | DirectoryScanner.h | 29 DirectoryScanner(FileManager &FM, ScanMode Mode = ScanMode::ScanFrameworks) 73 FileManager &FM;
|
/llvm-project/clang/tools/clang-fuzzer/handle-cxx/ |
H A D | handle_cxx.cpp | 32 llvm::IntrusiveRefCntPtr<FileManager> Files( in HandleCXX() 33 new FileManager(FileSystemOptions())); in HandleCXX()
|
/llvm-project/clang/include/clang/Serialization/ |
H A D | ModuleManager.h | 37 class FileManager; variable 65 FileManager &FileMgr; 136 explicit ModuleManager(FileManager &FileMgr, InMemoryModuleCache &ModuleCache,
|
H A D | GlobalModuleIndex.h | 34 class FileManager; variable 177 static llvm::Error writeIndex(FileManager &FileMgr,
|
/llvm-project/clang/unittests/Tooling/Syntax/ |
H A D | TreeTestBase.h | 48 IntrusiveRefCntPtr<FileManager> FileMgr = 49 new FileManager(FileSystemOptions(), FS);
|
/llvm-project/clang/include/clang/ARCMigrate/ |
H A D | FileRemapper.h | 26 class FileManager; variable 34 std::unique_ptr<FileManager> FileMgr;
|
/llvm-project/clang-tools-extra/clang-include-fixer/ |
H A D | IncludeFixer.h | 25 class FileManager; variable 45 clang::FileManager *Files,
|
/llvm-project/clang/lib/Interpreter/ |
H A D | CodeCompletion.cpp | 228 ExternalSource(ASTContext &ChildASTCtxt, FileManager &ChildFM, 229 ASTContext &ParentASTCtxt, FileManager &ParentFM); 263 ExternalSource::ExternalSource(ASTContext &ChildASTCtxt, FileManager &ChildFM, in ExternalSource() 264 ASTContext &ParentASTCtxt, FileManager &ParentFM) in ExternalSource()
|
/llvm-project/clang/lib/APINotes/ |
H A D | APINotesManager.cpp | 13 #include "clang/Basic/FileManager.h" 142 FileManager &FM = SM.getFileManager(); in findAPINotesFile() 156 FileManager &FM = SM.getFileManager(); in loadFrameworkAPINotes() 223 FileManager &FM = SM.getFileManager(); in getCurrentModuleAPINotes() 363 FileManager &FileMgr = SM.getFileManager(); in findAPINotes()
|
/llvm-project/clang/unittests/Basic/ |
H A D | FileManagerTest.cpp | 9 #include "clang/Basic/FileManager.h" 99 FileManager manager; 114 // FileManager to report "file/directory doesn't exist". This in TEST_F() 266 // FileManager::getFileRef has special logic for. in TEST_F() 463 FileManager Manager(Opts, FS); in TEST_F() 484 FileManager Manager(Opts, FS); in TEST_F() 510 FileManager Manager(Opts, FS); in TEST_F() 542 FileManager Manager(Opts, FS); in TEST_F()
|