Home
last modified time | relevance | path

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

/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/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/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/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/clang/unittests/AST/
DASTImporterTest.cpp70 vfs::OverlayFileSystem *OFS = static_cast<vfs::OverlayFileSystem *>( in testImport()
/external/clang/include/clang/Basic/
DVirtualFileSystem.h254 class OverlayFileSystem : public FileSystem {
261 OverlayFileSystem(IntrusiveRefCntPtr<FileSystem> Base);
/external/clang/lib/Frontend/
DCompilerInvocation.cpp2547 IntrusiveRefCntPtr<vfs::OverlayFileSystem> in createVFSFromCompilerInvocation()
2548 Overlay(new vfs::OverlayFileSystem(vfs::getRealFileSystem())); in createVFSFromCompilerInvocation()