Home
last modified time | relevance | path

Searched refs:InMemoryFileSystem (Results 1 – 25 of 51) sorted by relevance

123

/llvm-project-15.0.7/clang/unittests/Driver/
H A DToolChainTest.cpp36 IntrusiveRefCntPtr<llvm::vfs::InMemoryFileSystem> InMemoryFileSystem( in TEST() local
37 new llvm::vfs::InMemoryFileSystem); in TEST()
74 InMemoryFileSystem->addFile(Path, 0, in TEST()
133 IntrusiveRefCntPtr<llvm::vfs::InMemoryFileSystem> InMemoryFileSystem( in TEST() local
172 IntrusiveRefCntPtr<llvm::vfs::InMemoryFileSystem> InMemoryFileSystem( in TEST() local
318 IntrusiveRefCntPtr<llvm::vfs::InMemoryFileSystem> InMemoryFileSystem( in TEST() local
346 IntrusiveRefCntPtr<llvm::vfs::InMemoryFileSystem> InMemoryFileSystem( in TEST() local
393 IntrusiveRefCntPtr<llvm::vfs::InMemoryFileSystem> &InMemoryFileSystem, in validateTargetProfile() argument
405 IntrusiveRefCntPtr<llvm::vfs::InMemoryFileSystem> &InMemoryFileSystem, in validateTargetProfile() argument
421 IntrusiveRefCntPtr<llvm::vfs::InMemoryFileSystem> InMemoryFileSystem( in TEST() local
[all …]
H A DDistroTest.cpp29 llvm::vfs::InMemoryFileSystem UbuntuTrustyFileSystem; in TEST()
60 llvm::vfs::InMemoryFileSystem UbuntuYakketyFileSystem; in TEST()
92 llvm::vfs::InMemoryFileSystem Fedora25FileSystem; in TEST()
125 llvm::vfs::InMemoryFileSystem CentOS7FileSystem; in TEST()
164 llvm::vfs::InMemoryFileSystem OpenSUSELeap421FileSystem; in TEST()
190 llvm::vfs::InMemoryFileSystem OpenSUSE132FileSystem; in TEST()
216 llvm::vfs::InMemoryFileSystem SLES10FileSystem; in TEST()
235 llvm::vfs::InMemoryFileSystem DebianJessieFileSystem; in TEST()
277 llvm::vfs::InMemoryFileSystem ExherboFileSystem; in TEST()
297 llvm::vfs::InMemoryFileSystem ArchLinuxFileSystem; in TEST()
[all …]
H A DSanitizerArgsTest.cpp80 llvm::IntrusiveRefCntPtr<llvm::vfs::InMemoryFileSystem>
82 llvm::IntrusiveRefCntPtr<llvm::vfs::InMemoryFileSystem> FS = in prepareFS()
83 new llvm::vfs::InMemoryFileSystem; in prepareFS()
/llvm-project-15.0.7/clang/unittests/Tooling/
H A DToolingTest.cpp179 llvm::IntrusiveRefCntPtr<llvm::vfs::InMemoryFileSystem> InMemoryFileSystem( in TEST() local
180 new llvm::vfs::InMemoryFileSystem); in TEST()
191 InMemoryFileSystem->addFile( in TEST()
205 llvm::IntrusiveRefCntPtr<llvm::vfs::InMemoryFileSystem> InMemoryFileSystem( in TEST() local
217 InMemoryFileSystem->addFile( in TEST()
231 llvm::IntrusiveRefCntPtr<llvm::vfs::InMemoryFileSystem> InMemoryFileSystem( in TEST() local
260 llvm::IntrusiveRefCntPtr<llvm::vfs::InMemoryFileSystem> InMemoryFileSystem( in TEST() local
306 llvm::IntrusiveRefCntPtr<llvm::vfs::InMemoryFileSystem> InMemoryFileSystem( in TEST() local
319 InMemoryFileSystem->addFile( in TEST()
693 llvm::IntrusiveRefCntPtr<llvm::vfs::InMemoryFileSystem> InMemoryFileSystem( in TEST() local
[all …]
H A DRewriterTestContext.h55 InMemoryFileSystem(new llvm::vfs::InMemoryFileSystem), in RewriterTestContext()
63 OverlayFileSystem->pushOverlay(InMemoryFileSystem); in RewriterTestContext()
71 InMemoryFileSystem->addFile(Name, 0, std::move(Source)); in createInMemoryFile()
131 IntrusiveRefCntPtr<llvm::vfs::InMemoryFileSystem> InMemoryFileSystem; variable
H A DDependencyScannerTest.cpp86 auto VFS = new llvm::vfs::InMemoryFileSystem(); in TEST()
135 auto VFS = new llvm::vfs::InMemoryFileSystem(); in TEST()
177 auto VFS = new llvm::vfs::InMemoryFileSystem(); in TEST()
219 auto VFS = new llvm::vfs::InMemoryFileSystem(); in TEST()
/llvm-project-15.0.7/clang-tools-extra/unittests/clang-include-fixer/
H A DIncludeFixerTest.cpp26 llvm::IntrusiveRefCntPtr<llvm::vfs::InMemoryFileSystem> InMemoryFileSystem( in runOnCode() local
27 new llvm::vfs::InMemoryFileSystem); in runOnCode()
29 new FileManager(FileSystemOptions(), InMemoryFileSystem)); in runOnCode()
39 InMemoryFileSystem->addFile(FileName, 0, in runOnCode()
42 InMemoryFileSystem->addFile("foo.h", 0, in runOnCode()
44 InMemoryFileSystem->addFile("dir/bar.h", 0, in runOnCode()
46 InMemoryFileSystem->addFile("dir/otherdir/qux.h", 0, in runOnCode()
48 InMemoryFileSystem->addFile("header.h", 0, in runOnCode()
/llvm-project-15.0.7/clang/lib/Tooling/
H A DTooling.cpp227 llvm::IntrusiveRefCntPtr<llvm::vfs::InMemoryFileSystem> InMemoryFileSystem( in runToolOnCodeWithArgs() local
228 new llvm::vfs::InMemoryFileSystem); in runToolOnCodeWithArgs()
232 InMemoryFileSystem->addFile(FileName, 0, in runToolOnCodeWithArgs()
237 InMemoryFileSystem->addFile( in runToolOnCodeWithArgs()
437 InMemoryFileSystem(new llvm::vfs::InMemoryFileSystem), in ClangTool()
485 InMemoryFileSystem->addFile( in run()
551 InMemoryFileSystem->addFile( in run()
655 llvm::IntrusiveRefCntPtr<llvm::vfs::InMemoryFileSystem> InMemoryFileSystem( in buildASTFromCodeWithArgs() local
656 new llvm::vfs::InMemoryFileSystem); in buildASTFromCodeWithArgs()
666 InMemoryFileSystem->addFile(FileName, 0, in buildASTFromCodeWithArgs()
[all …]
/llvm-project-15.0.7/clang-tools-extra/unittests/clang-include-fixer/find-all-symbols/
H A DFindAllSymbolsTests.cpp65 llvm::IntrusiveRefCntPtr<llvm::vfs::InMemoryFileSystem> InMemoryFileSystem( in runFindAllSymbols() local
66 new llvm::vfs::InMemoryFileSystem); in runFindAllSymbols()
68 new FileManager(FileSystemOptions(), InMemoryFileSystem)); in runFindAllSymbols()
89 InMemoryFileSystem->addFile( in runFindAllSymbols()
91 InMemoryFileSystem->addFile(InternalHeader, 0, in runFindAllSymbols()
103 InMemoryFileSystem->addFile(HeaderName, 0, in runFindAllSymbols()
117 InMemoryFileSystem->addFile( in runFindAllSymbols()
125 InMemoryFileSystem->addFile(FileName, 0, in runFindAllSymbols()
/llvm-project-15.0.7/clang-tools-extra/unittests/clang-tidy/
H A DClangTidyTest.h120 llvm::IntrusiveRefCntPtr<llvm::vfs::InMemoryFileSystem> InMemoryFileSystem(
121 new llvm::vfs::InMemoryFileSystem);
123 new FileManager(FileSystemOptions(), InMemoryFileSystem));
131 InMemoryFileSystem->addFile(Filename, 0,
134 InMemoryFileSystem->addFile(
H A DOptionsProviderTest.cpp20 llvm::IntrusiveRefCntPtr<llvm::vfs::InMemoryFileSystem> FileSystem( in TEST()
21 new llvm::vfs::InMemoryFileSystem); in TEST()
/llvm-project-15.0.7/clang-tools-extra/clangd/unittests/
H A DCanonicalIncludesTests.cpp25 FileEntryRef addFile(llvm::vfs::InMemoryFileSystem &FS, FileManager &FM, in addFile()
59 auto InMemFS = llvm::makeIntrusiveRefCnt<llvm::vfs::InMemoryFileSystem>(); in TEST()
66 auto InMemFS = llvm::makeIntrusiveRefCnt<llvm::vfs::InMemoryFileSystem>(); in TEST()
90 auto InMemFS = llvm::makeIntrusiveRefCnt<llvm::vfs::InMemoryFileSystem>(); in TEST()
H A DIndexActionTests.cpp70 IndexActionTest() : InMemoryFileSystem(new llvm::vfs::InMemoryFileSystem) {} in IndexActionTest()
77 new FileManager(FileSystemOptions(), InMemoryFileSystem));
102 InMemoryFileSystem->addFile(Path, 0, in addFile()
110 llvm::IntrusiveRefCntPtr<llvm::vfs::InMemoryFileSystem> InMemoryFileSystem; member in clang::clangd::__anonae56ce760111::IndexActionTest
H A DSymbolCollectorTests.cpp278 : InMemoryFileSystem(new llvm::vfs::InMemoryFileSystem), in SymbolCollectorTest()
318 llvm::IntrusiveRefCntPtr<llvm::vfs::InMemoryFileSystem> InMemoryFileSystem; member in clang::clangd::__anon3932027d0111::SymbolCollectorTest
676 InMemoryFileSystem->addFile( in TEST_F()
685 InMemoryFileSystem->addFile( in TEST_F()
712 InMemoryFileSystem->addFile( in TEST_F()
718 InMemoryFileSystem->addFile( in TEST_F()
837 InMemoryFileSystem = new llvm::vfs::InMemoryFileSystem(); in TEST_F()
1036 InMemoryFileSystem = new llvm::vfs::InMemoryFileSystem; in TEST_F()
1600 InMemoryFileSystem->addFile(IncFile, 0, in TEST_F()
1630 InMemoryFileSystem->addFile(IncFile, 0, in TEST_F()
[all …]
H A DTestFS.cpp36 llvm::IntrusiveRefCntPtr<llvm::vfs::InMemoryFileSystem> MemFS( in buildTestFS()
37 new llvm::vfs::InMemoryFileSystem); in buildTestFS()
/llvm-project-15.0.7/clang/tools/clang-format/
H A DClangFormat.cpp210 llvm::vfs::InMemoryFileSystem *MemFS) { in createInMemoryFile()
228 IntrusiveRefCntPtr<llvm::vfs::InMemoryFileSystem> InMemoryFileSystem( in fillRanges() local
229 new llvm::vfs::InMemoryFileSystem); in fillRanges()
230 FileManager Files(FileSystemOptions(), InMemoryFileSystem); in fillRanges()
236 InMemoryFileSystem.get()); in fillRanges()
505 IntrusiveRefCntPtr<llvm::vfs::InMemoryFileSystem> InMemoryFileSystem( in format() local
506 new llvm::vfs::InMemoryFileSystem); in format()
507 FileManager Files(FileSystemOptions(), InMemoryFileSystem); in format()
516 InMemoryFileSystem.get()); in format()
/llvm-project-15.0.7/clang/unittests/Basic/
H A DFileManagerTest.cpp425 auto FS = IntrusiveRefCntPtr<llvm::vfs::InMemoryFileSystem>( in TEST_F()
426 new llvm::vfs::InMemoryFileSystem); in TEST_F()
446 auto FS = IntrusiveRefCntPtr<llvm::vfs::InMemoryFileSystem>( in TEST_F()
447 new llvm::vfs::InMemoryFileSystem); in TEST_F()
473 auto FS = IntrusiveRefCntPtr<llvm::vfs::InMemoryFileSystem>( in TEST_F()
474 new llvm::vfs::InMemoryFileSystem); in TEST_F()
505 auto FS = IntrusiveRefCntPtr<llvm::vfs::InMemoryFileSystem>( in TEST_F()
506 new llvm::vfs::InMemoryFileSystem); in TEST_F()
H A DSarifTest.cpp46 : InMemoryFileSystem(new llvm::vfs::InMemoryFileSystem), in SarifDocumentWriterTest()
47 FileMgr(FileSystemOptions(), InMemoryFileSystem), in SarifDocumentWriterTest()
52 IntrusiveRefCntPtr<llvm::vfs::InMemoryFileSystem> InMemoryFileSystem; member in __anon95b80a0c0111::SarifDocumentWriterTest
/llvm-project-15.0.7/clang-tools-extra/clangd/unittests/tweaks/
H A DTweakTests.cpp41 llvm::IntrusiveRefCntPtr<llvm::vfs::InMemoryFileSystem> MemFS( in TEST()
42 new llvm::vfs::InMemoryFileSystem); in TEST()
/llvm-project-15.0.7/clang/unittests/Tooling/Syntax/
H A DTreeTestBase.h46 IntrusiveRefCntPtr<llvm::vfs::InMemoryFileSystem> FS =
47 new llvm::vfs::InMemoryFileSystem;
/llvm-project-15.0.7/clang/unittests/Frontend/
H A DUtilsTest.cpp33 Opts.VFS = new llvm::vfs::InMemoryFileSystem(); in TEST()
43 auto FS = llvm::makeIntrusiveRefCnt<llvm::vfs::InMemoryFileSystem>(); in TEST()
/llvm-project-15.0.7/clang/unittests/Analysis/
H A DMacroExpansionContextTest.cpp36 : InMemoryFileSystem(new llvm::vfs::InMemoryFileSystem), in MacroExpansionContextTest()
37 FileMgr(FileSystemOptions(), InMemoryFileSystem), in MacroExpansionContextTest()
46 IntrusiveRefCntPtr<llvm::vfs::InMemoryFileSystem> InMemoryFileSystem; member in clang::analysis::__anon13cf8a650111::MacroExpansionContextTest
/llvm-project-15.0.7/clang/unittests/Lex/
H A DPPCallbacksTest.cpp133 : InMemoryFileSystem(new llvm::vfs::InMemoryFileSystem), in PPCallbacksTest()
134 FileMgr(FileSystemOptions(), InMemoryFileSystem), in PPCallbacksTest()
142 IntrusiveRefCntPtr<llvm::vfs::InMemoryFileSystem> InMemoryFileSystem; member in __anonec3cc9fe0111::PPCallbacksTest
157 InMemoryFileSystem->addFile(HeaderPath, 0, in AddFakeHeader()
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/
H A DExpandModularHeadersPPCallbacks.h19 class InMemoryFileSystem; variable
129 llvm::IntrusiveRefCntPtr<llvm::vfs::InMemoryFileSystem> InMemoryFs;
/llvm-project-15.0.7/llvm/lib/Support/
H A DVirtualFileSystem.cpp801 InMemoryFileSystem::InMemoryFileSystem(bool UseNormalizedPaths) in InMemoryFileSystem() function in llvm::vfs::InMemoryFileSystem
809 InMemoryFileSystem::~InMemoryFileSystem() = default;
811 std::string InMemoryFileSystem::toString() const { in toString()
960 if (SymlinkDepth > InMemoryFileSystem::MaxSymlinkDepth) in lookupNode()
1004 bool InMemoryFileSystem::addHardLink(const Twine &NewLink, in addHardLink()
1023 bool InMemoryFileSystem::addSymbolicLink(const Twine &NewLink, in addSymbolicLink()
1053 InMemoryFileSystem::openFileForRead(const Twine &Path) { in openFileForRead()
1070 const InMemoryFileSystem *FS;
1107 DirIterator(const InMemoryFileSystem *FS, in DirIterator()
1122 directory_iterator InMemoryFileSystem::dir_begin(const Twine &Dir, in dir_begin()
[all …]

123