Home
last modified time | relevance | path

Searched refs:OverlayFileSystem (Results 1 – 25 of 26) sorted by relevance

12

/external/llvm-project/clang-tools-extra/clangd/unittests/
DTestFS.h40 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/
DTooling.cpp206 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/
DRewriterTestContext.h43 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
DToolingTest.cpp152 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/
DRewriterTestContext.h56 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
DToolingTest.cpp173 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/
DTooling.cpp133 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/
DVirtualFileSystemTest.cpp183 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/
DClangTidy.h37 IntrusiveRefCntPtr<llvm::vfs::OverlayFileSystem> OverlayFS = nullptr);
51 IntrusiveRefCntPtr<llvm::vfs::OverlayFileSystem> OverlayFS;
81 llvm::IntrusiveRefCntPtr<llvm::vfs::OverlayFileSystem> BaseFS,
DExpandModularHeadersPPCallbacks.h18 class OverlayFileSystem; variable
47 IntrusiveRefCntPtr<llvm::vfs::OverlayFileSystem> OverlayFS);
DClangTidy.cpp321 IntrusiveRefCntPtr<llvm::vfs::OverlayFileSystem> OverlayFS) in ClangTidyASTConsumerFactory()
504 llvm::IntrusiveRefCntPtr<llvm::vfs::OverlayFileSystem> BaseFS, in runClangTidy()
541 IntrusiveRefCntPtr<llvm::vfs::OverlayFileSystem> BaseFS) in runClangTidy()
DExpandModularHeadersPPCallbacks.cpp69 IntrusiveRefCntPtr<llvm::vfs::OverlayFileSystem> OverlayFS) in ExpandModularHeadersPPCallbacks()
/external/llvm-project/llvm/unittests/Support/
DVirtualFileSystemTest.cpp235 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/
DVirtualFileSystem.cpp389 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/
DVirtualFileSystem.cpp290 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/
DTooling.h340 llvm::IntrusiveRefCntPtr<vfs::OverlayFileSystem> OverlayFileSystem; variable
/external/llvm-project/llvm/lib/Support/
DVirtualFileSystem.cpp389 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/
DTooling.h371 llvm::IntrusiveRefCntPtr<llvm::vfs::OverlayFileSystem> OverlayFileSystem; variable
/external/clang/include/clang/Basic/
DVirtualFileSystem.h254 class OverlayFileSystem : public FileSystem {
261 OverlayFileSystem(IntrusiveRefCntPtr<FileSystem> Base);
/external/clang/unittests/AST/
DASTImporterTest.cpp70 vfs::OverlayFileSystem *OFS = static_cast<vfs::OverlayFileSystem *>( in testImport()
/external/llvm-project/clang-tools-extra/clang-tidy/tool/
DClangTidyMain.cpp386 llvm::IntrusiveRefCntPtr<vfs::OverlayFileSystem> BaseFS( in clangTidyMain()
387 new vfs::OverlayFileSystem(vfs::getRealFileSystem())); in clangTidyMain()
/external/llvm-project/clang/unittests/AST/
DASTImporterFixtures.cpp28 auto *OFS = static_cast<llvm::vfs::OverlayFileSystem *>( in createVirtualFileIfNeeded()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/
DVirtualFileSystem.h321 class OverlayFileSystem : public FileSystem {
329 OverlayFileSystem(IntrusiveRefCntPtr<FileSystem> Base);
/external/llvm-project/llvm/include/llvm/Support/
DVirtualFileSystem.h322 class OverlayFileSystem : public FileSystem {
330 OverlayFileSystem(IntrusiveRefCntPtr<FileSystem> Base);
/external/llvm-project/clang/lib/Frontend/
DPrecompiledPreamble.cpp65 IntrusiveRefCntPtr<llvm::vfs::OverlayFileSystem> Overlay( in createVFSOverlayForPreamblePCH()
66 new llvm::vfs::OverlayFileSystem(VFS)); in createVFSOverlayForPreamblePCH()

12