/external/llvm-project/clang-tools-extra/clangd/unittests/ |
D | TestFS.h | 40 llvm::IntrusiveRefCntPtr<llvm::vfs::OverlayFileSystem> OverlayFileSystem = in viewImpl() local 41 new llvm::vfs::OverlayFileSystem(llvm::vfs::getRealFileSystem()); in viewImpl() 42 OverlayFileSystem->pushOverlay(MemFS); in viewImpl() 43 return OverlayFileSystem; in viewImpl()
|
/external/llvm-project/clang/lib/Tooling/ |
D | Tooling.cpp | 206 llvm::IntrusiveRefCntPtr<llvm::vfs::OverlayFileSystem> OverlayFileSystem( in runToolOnCodeWithArgs() local 207 new llvm::vfs::OverlayFileSystem(llvm::vfs::getRealFileSystem())); in runToolOnCodeWithArgs() 210 OverlayFileSystem->pushOverlay(InMemoryFileSystem); in runToolOnCodeWithArgs() 223 return runToolOnCodeWithArgs(std::move(ToolAction), Code, OverlayFileSystem, in runToolOnCodeWithArgs() 409 OverlayFileSystem(new llvm::vfs::OverlayFileSystem(std::move(BaseFS))), in ClangTool() 412 : new FileManager(FileSystemOptions(), OverlayFileSystem)) { in ClangTool() 413 OverlayFileSystem->pushOverlay(InMemoryFileSystem); in ClangTool() 418 Files->setVirtualFileSystem(OverlayFileSystem); in ClangTool() 468 auto AbsPath = getAbsolutePath(*OverlayFileSystem, SourcePath); in run() 481 if (auto CWD = OverlayFileSystem->getCurrentWorkingDirectory()) { in run() [all …]
|
/external/clang/unittests/Tooling/ |
D | RewriterTestContext.h | 43 OverlayFileSystem( in RewriterTestContext() 44 new vfs::OverlayFileSystem(vfs::getRealFileSystem())), in RewriterTestContext() 45 Files(FileSystemOptions(), OverlayFileSystem), in RewriterTestContext() 50 OverlayFileSystem->pushOverlay(InMemoryFileSystem); in RewriterTestContext() 118 IntrusiveRefCntPtr<vfs::OverlayFileSystem> OverlayFileSystem; variable
|
D | ToolingTest.cpp | 152 llvm::IntrusiveRefCntPtr<vfs::OverlayFileSystem> OverlayFileSystem( in TEST() local 153 new vfs::OverlayFileSystem(vfs::getRealFileSystem())); in TEST() 156 OverlayFileSystem->pushOverlay(InMemoryFileSystem); in TEST() 158 new FileManager(FileSystemOptions(), OverlayFileSystem)); in TEST() 178 llvm::IntrusiveRefCntPtr<vfs::OverlayFileSystem> OverlayFileSystem( in TEST() local 179 new vfs::OverlayFileSystem(vfs::getRealFileSystem())); in TEST() 182 OverlayFileSystem->pushOverlay(InMemoryFileSystem); in TEST() 184 new FileManager(FileSystemOptions(), OverlayFileSystem)); in TEST()
|
/external/llvm-project/clang/unittests/Tooling/ |
D | RewriterTestContext.h | 56 OverlayFileSystem( in RewriterTestContext() 57 new llvm::vfs::OverlayFileSystem(llvm::vfs::getRealFileSystem())), in RewriterTestContext() 58 Files(FileSystemOptions(), OverlayFileSystem), in RewriterTestContext() 63 OverlayFileSystem->pushOverlay(InMemoryFileSystem); in RewriterTestContext() 132 IntrusiveRefCntPtr<llvm::vfs::OverlayFileSystem> OverlayFileSystem; variable
|
D | ToolingTest.cpp | 173 llvm::IntrusiveRefCntPtr<llvm::vfs::OverlayFileSystem> OverlayFileSystem( in TEST() local 174 new llvm::vfs::OverlayFileSystem(llvm::vfs::getRealFileSystem())); in TEST() 177 OverlayFileSystem->pushOverlay(InMemoryFileSystem); in TEST() 179 new FileManager(FileSystemOptions(), OverlayFileSystem)); in TEST() 199 llvm::IntrusiveRefCntPtr<llvm::vfs::OverlayFileSystem> OverlayFileSystem( in TEST() local 200 new llvm::vfs::OverlayFileSystem(llvm::vfs::getRealFileSystem())); in TEST() 203 OverlayFileSystem->pushOverlay(InMemoryFileSystem); in TEST() 205 new FileManager(FileSystemOptions(), OverlayFileSystem)); in TEST() 487 llvm::IntrusiveRefCntPtr<llvm::vfs::OverlayFileSystem> OverlayFileSystem( in TEST() local 488 new llvm::vfs::OverlayFileSystem(llvm::vfs::getRealFileSystem())); in TEST() [all …]
|
/external/clang/lib/Tooling/ |
D | Tooling.cpp | 133 llvm::IntrusiveRefCntPtr<vfs::OverlayFileSystem> OverlayFileSystem( in runToolOnCodeWithArgs() local 134 new vfs::OverlayFileSystem(vfs::getRealFileSystem())); in runToolOnCodeWithArgs() 137 OverlayFileSystem->pushOverlay(InMemoryFileSystem); in runToolOnCodeWithArgs() 139 new FileManager(FileSystemOptions(), OverlayFileSystem)); in runToolOnCodeWithArgs() 321 OverlayFileSystem(new vfs::OverlayFileSystem(vfs::getRealFileSystem())), in ClangTool() 323 Files(new FileManager(FileSystemOptions(), OverlayFileSystem)), in ClangTool() 325 OverlayFileSystem->pushOverlay(InMemoryFileSystem); in ClangTool() 409 if (OverlayFileSystem->setCurrentWorkingDirectory( in run() 453 if (OverlayFileSystem->setCurrentWorkingDirectory(InitialDirectory.c_str())) in run() 508 llvm::IntrusiveRefCntPtr<vfs::OverlayFileSystem> OverlayFileSystem( in buildASTFromCodeWithArgs() local [all …]
|
/external/clang/unittests/Basic/ |
D | VirtualFileSystemTest.cpp | 183 IntrusiveRefCntPtr<vfs::OverlayFileSystem> O(new vfs::OverlayFileSystem(D)); in TEST() 200 IntrusiveRefCntPtr<vfs::OverlayFileSystem> O( in TEST() 201 new vfs::OverlayFileSystem(Base)); in TEST() 238 IntrusiveRefCntPtr<vfs::OverlayFileSystem> O( in TEST() 239 new vfs::OverlayFileSystem(Lower)); in TEST() 263 IntrusiveRefCntPtr<vfs::OverlayFileSystem> O( in TEST() 264 new vfs::OverlayFileSystem(Lower)); in TEST() 397 IntrusiveRefCntPtr<vfs::OverlayFileSystem> O( in TEST() 398 new vfs::OverlayFileSystem(Lower)); in TEST() 422 IntrusiveRefCntPtr<vfs::OverlayFileSystem> O( in TEST() [all …]
|
/external/llvm-project/clang-tools-extra/clang-tidy/ |
D | ClangTidy.h | 37 IntrusiveRefCntPtr<llvm::vfs::OverlayFileSystem> OverlayFS = nullptr); 51 IntrusiveRefCntPtr<llvm::vfs::OverlayFileSystem> OverlayFS; 81 llvm::IntrusiveRefCntPtr<llvm::vfs::OverlayFileSystem> BaseFS,
|
D | ExpandModularHeadersPPCallbacks.h | 18 class OverlayFileSystem; variable 47 IntrusiveRefCntPtr<llvm::vfs::OverlayFileSystem> OverlayFS);
|
D | ClangTidy.cpp | 321 IntrusiveRefCntPtr<llvm::vfs::OverlayFileSystem> OverlayFS) in ClangTidyASTConsumerFactory() 504 llvm::IntrusiveRefCntPtr<llvm::vfs::OverlayFileSystem> BaseFS, in runClangTidy() 541 IntrusiveRefCntPtr<llvm::vfs::OverlayFileSystem> BaseFS) in runClangTidy()
|
D | ExpandModularHeadersPPCallbacks.cpp | 69 IntrusiveRefCntPtr<llvm::vfs::OverlayFileSystem> OverlayFS) in ExpandModularHeadersPPCallbacks()
|
/external/llvm-project/llvm/unittests/Support/ |
D | VirtualFileSystemTest.cpp | 235 IntrusiveRefCntPtr<vfs::OverlayFileSystem> O(new vfs::OverlayFileSystem(D)); in TEST() 254 IntrusiveRefCntPtr<vfs::OverlayFileSystem> O( in TEST() 255 new vfs::OverlayFileSystem(Lower)); in TEST() 281 IntrusiveRefCntPtr<vfs::OverlayFileSystem> O( in TEST() 282 new vfs::OverlayFileSystem(Base)); in TEST() 319 IntrusiveRefCntPtr<vfs::OverlayFileSystem> O( in TEST() 320 new vfs::OverlayFileSystem(Lower)); in TEST() 344 IntrusiveRefCntPtr<vfs::OverlayFileSystem> O( in TEST() 345 new vfs::OverlayFileSystem(Lower)); in TEST() 371 IntrusiveRefCntPtr<vfs::OverlayFileSystem> O( in TEST() [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Support/ |
D | VirtualFileSystem.cpp | 389 OverlayFileSystem::OverlayFileSystem(IntrusiveRefCntPtr<FileSystem> BaseFS) { in OverlayFileSystem() function in OverlayFileSystem 393 void OverlayFileSystem::pushOverlay(IntrusiveRefCntPtr<FileSystem> FS) { in pushOverlay() 400 ErrorOr<Status> OverlayFileSystem::status(const Twine &Path) { in status() 411 OverlayFileSystem::openFileForRead(const llvm::Twine &Path) { in openFileForRead() 422 OverlayFileSystem::getCurrentWorkingDirectory() const { in getCurrentWorkingDirectory() 428 OverlayFileSystem::setCurrentWorkingDirectory(const Twine &Path) { in setCurrentWorkingDirectory() 435 std::error_code OverlayFileSystem::isLocal(const Twine &Path, bool &Result) { in isLocal() 443 OverlayFileSystem::getRealPath(const Twine &Path, in getRealPath() 456 OverlayFileSystem &Overlays; 458 OverlayFileSystem::iterator CurrentFS; [all …]
|
/external/clang/lib/Basic/ |
D | VirtualFileSystem.cpp | 290 OverlayFileSystem::OverlayFileSystem(IntrusiveRefCntPtr<FileSystem> BaseFS) { in OverlayFileSystem() function in OverlayFileSystem 294 void OverlayFileSystem::pushOverlay(IntrusiveRefCntPtr<FileSystem> FS) { in pushOverlay() 301 ErrorOr<Status> OverlayFileSystem::status(const Twine &Path) { in status() 312 OverlayFileSystem::openFileForRead(const llvm::Twine &Path) { in openFileForRead() 323 OverlayFileSystem::getCurrentWorkingDirectory() const { in getCurrentWorkingDirectory() 328 OverlayFileSystem::setCurrentWorkingDirectory(const Twine &Path) { in setCurrentWorkingDirectory() 339 OverlayFileSystem &Overlays; 341 OverlayFileSystem::iterator CurrentFS; 386 OverlayFSDirIterImpl(const Twine &Path, OverlayFileSystem &FS, in OverlayFSDirIterImpl() 397 directory_iterator OverlayFileSystem::dir_begin(const Twine &Dir, in dir_begin()
|
/external/clang/include/clang/Tooling/ |
D | Tooling.h | 340 llvm::IntrusiveRefCntPtr<vfs::OverlayFileSystem> OverlayFileSystem; variable
|
/external/llvm-project/llvm/lib/Support/ |
D | VirtualFileSystem.cpp | 389 OverlayFileSystem::OverlayFileSystem(IntrusiveRefCntPtr<FileSystem> BaseFS) { in OverlayFileSystem() function in OverlayFileSystem 393 void OverlayFileSystem::pushOverlay(IntrusiveRefCntPtr<FileSystem> FS) { in pushOverlay() 400 ErrorOr<Status> OverlayFileSystem::status(const Twine &Path) { in status() 411 OverlayFileSystem::openFileForRead(const llvm::Twine &Path) { in openFileForRead() 422 OverlayFileSystem::getCurrentWorkingDirectory() const { in getCurrentWorkingDirectory() 428 OverlayFileSystem::setCurrentWorkingDirectory(const Twine &Path) { in setCurrentWorkingDirectory() 435 std::error_code OverlayFileSystem::isLocal(const Twine &Path, bool &Result) { in isLocal() 443 OverlayFileSystem::getRealPath(const Twine &Path, in getRealPath() 456 OverlayFileSystem &Overlays; 458 OverlayFileSystem::iterator CurrentFS; [all …]
|
/external/llvm-project/clang/include/clang/Tooling/ |
D | Tooling.h | 371 llvm::IntrusiveRefCntPtr<llvm::vfs::OverlayFileSystem> OverlayFileSystem; variable
|
/external/clang/include/clang/Basic/ |
D | VirtualFileSystem.h | 254 class OverlayFileSystem : public FileSystem { 261 OverlayFileSystem(IntrusiveRefCntPtr<FileSystem> Base);
|
/external/clang/unittests/AST/ |
D | ASTImporterTest.cpp | 70 vfs::OverlayFileSystem *OFS = static_cast<vfs::OverlayFileSystem *>( in testImport()
|
/external/llvm-project/clang-tools-extra/clang-tidy/tool/ |
D | ClangTidyMain.cpp | 386 llvm::IntrusiveRefCntPtr<vfs::OverlayFileSystem> BaseFS( in clangTidyMain() 387 new vfs::OverlayFileSystem(vfs::getRealFileSystem())); in clangTidyMain()
|
/external/llvm-project/clang/unittests/AST/ |
D | ASTImporterFixtures.cpp | 28 auto *OFS = static_cast<llvm::vfs::OverlayFileSystem *>( in createVirtualFileIfNeeded()
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/ |
D | VirtualFileSystem.h | 321 class OverlayFileSystem : public FileSystem { 329 OverlayFileSystem(IntrusiveRefCntPtr<FileSystem> Base);
|
/external/llvm-project/llvm/include/llvm/Support/ |
D | VirtualFileSystem.h | 322 class OverlayFileSystem : public FileSystem { 330 OverlayFileSystem(IntrusiveRefCntPtr<FileSystem> Base);
|
/external/llvm-project/clang/lib/Frontend/ |
D | PrecompiledPreamble.cpp | 65 IntrusiveRefCntPtr<llvm::vfs::OverlayFileSystem> Overlay( in createVFSOverlayForPreamblePCH() 66 new llvm::vfs::OverlayFileSystem(VFS)); in createVFSOverlayForPreamblePCH()
|