Home
last modified time | relevance | path

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

123

/llvm-project/clang/unittests/Driver/
H A DDXCModeTest.cpp33 IntrusiveRefCntPtr<llvm::vfs::InMemoryFileSystem> &InMemoryFileSystem, in validateTargetProfile() argument
35 Driver TheDriver("/bin/clang", "", Diags, "", InMemoryFileSystem); in validateTargetProfile()
45 IntrusiveRefCntPtr<llvm::vfs::InMemoryFileSystem> &InMemoryFileSystem, in validateTargetProfile() argument
48 Driver TheDriver("/bin/clang", "", Diags, "", InMemoryFileSystem); in validateTargetProfile()
60 IntrusiveRefCntPtr<llvm::vfs::InMemoryFileSystem> InMemoryFileSystem( in TEST()
61 new llvm::vfs::InMemoryFileSystem); in TEST() local
63 InMemoryFileSystem in TEST()
111 IntrusiveRefCntPtr<llvm::vfs::InMemoryFileSystem> InMemoryFileSystem( TEST() local
218 IntrusiveRefCntPtr<llvm::vfs::InMemoryFileSystem> InMemoryFileSystem( TEST() local
[all...]
H A DToolChainTest.cpp44 IntrusiveRefCntPtr<llvm::vfs::InMemoryFileSystem> InMemoryFileSystem( in TEST()
45 new llvm::vfs::InMemoryFileSystem); in TEST()
82 InMemoryFileSystem->addFile(Path, 0, in TEST()
88 "clang LLVM compiler", InMemoryFileSystem); in TEST()
111 "clang LLVM compiler", InMemoryFileSystem); in TEST()
141 IntrusiveRefCntPtr<llvm::vfs::InMemoryFileSystem> InMemoryFileSystem( in TEST()
142 new llvm::vfs::InMemoryFileSystem); in TEST()
144 "clang LLVM compiler", InMemoryFileSystem); in TEST()
43 IntrusiveRefCntPtr<llvm::vfs::InMemoryFileSystem> InMemoryFileSystem( TEST() local
140 IntrusiveRefCntPtr<llvm::vfs::InMemoryFileSystem> InMemoryFileSystem( TEST() local
178 IntrusiveRefCntPtr<llvm::vfs::InMemoryFileSystem> InMemoryFileSystem( TEST() local
342 IntrusiveRefCntPtr<llvm::vfs::InMemoryFileSystem> InMemoryFileSystem( TEST() local
374 IntrusiveRefCntPtr<llvm::vfs::InMemoryFileSystem> InMemoryFileSystem( TEST() local
520 IntrusiveRefCntPtr<llvm::vfs::InMemoryFileSystem> InMemoryFileSystem( TEST() local
548 IntrusiveRefCntPtr<llvm::vfs::InMemoryFileSystem> InMemoryFileSystem( 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()
256 llvm::vfs::InMemoryFileSystem DebianStretchSidFileSystem; in TEST()
277 llvm::vfs::InMemoryFileSystem ExherboFileSystem; 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/clang/unittests/Tooling/
H A DToolingTest.cpp156 llvm::IntrusiveRefCntPtr<llvm::vfs::InMemoryFileSystem> InMemoryFileSystem( in TEST()
157 new llvm::vfs::InMemoryFileSystem); in TEST()
158 InMemoryFileSystem->addFile("included_file.h", 0, in TEST()
164 InMemoryFileSystem); in newASTConsumer()
193 llvm::IntrusiveRefCntPtr<llvm::vfs::InMemoryFileSystem> InMemoryFileSystem( in TEST()
194 new llvm::vfs::InMemoryFileSystem); in TEST()
195 OverlayFileSystem->pushOverlay(InMemoryFileSystem); in TEST()
205 InMemoryFileSystem in TEST() local
179 llvm::IntrusiveRefCntPtr<llvm::vfs::InMemoryFileSystem> InMemoryFileSystem( TEST() local
231 llvm::IntrusiveRefCntPtr<llvm::vfs::InMemoryFileSystem> InMemoryFileSystem( TEST() local
260 llvm::IntrusiveRefCntPtr<llvm::vfs::InMemoryFileSystem> InMemoryFileSystem( TEST() local
306 llvm::IntrusiveRefCntPtr<llvm::vfs::InMemoryFileSystem> InMemoryFileSystem( TEST() local
332 llvm::IntrusiveRefCntPtr<llvm::vfs::InMemoryFileSystem> InMemoryFileSystem( TEST() local
352 llvm::IntrusiveRefCntPtr<llvm::vfs::InMemoryFileSystem> InMemoryFileSystem( TEST() local
740 llvm::IntrusiveRefCntPtr<llvm::vfs::InMemoryFileSystem> InMemoryFileSystem( 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()
130 IntrusiveRefCntPtr<llvm::vfs::InMemoryFileSystem> InMemoryFileSystem;
131 IntrusiveRefCntPtr<llvm::vfs::InMemoryFileSystem> InMemoryFileSystem; global() variable
/llvm-project/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/clang/lib/Tooling/
H A DTooling.cpp235 llvm::IntrusiveRefCntPtr<llvm::vfs::InMemoryFileSystem> InMemoryFileSystem( in runToolOnCodeWithArgs() local
236 new llvm::vfs::InMemoryFileSystem); in runToolOnCodeWithArgs()
237 OverlayFileSystem->pushOverlay(InMemoryFileSystem); in runToolOnCodeWithArgs()
240 InMemoryFileSystem->addFile(FileName, 0, in runToolOnCodeWithArgs()
245 InMemoryFileSystem->addFile( in runToolOnCodeWithArgs()
481 InMemoryFileSystem(new llvm::vfs::InMemoryFileSystem), in ClangTool()
484 OverlayFileSystem->pushOverlay(InMemoryFileSystem); in ClangTool()
529 InMemoryFileSystem in run()
697 llvm::IntrusiveRefCntPtr<llvm::vfs::InMemoryFileSystem> InMemoryFileSystem( buildASTFromCodeWithArgs() local
[all...]
/llvm-project/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/clang/tools/clang-installapi/
H A DClangInstallAPI.cpp44 llvm::vfs::InMemoryFileSystem *FS, in runFrontend()
88 llvm::IntrusiveRefCntPtr<llvm::vfs::InMemoryFileSystem> InMemoryFileSystem( in run() local
89 new llvm::vfs::InMemoryFileSystem); in run()
90 OverlayFileSystem->pushOverlay(InMemoryFileSystem); in run()
134 InMemoryFileSystem.get(), ArgStrings)) in run()
142 Opts.DriverOpts.Verbose, Ctx, InMemoryFileSystem.get(), in run()
/llvm-project/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/clang/tools/clang-format/
H A DClangFormat.cpp222 llvm::vfs::InMemoryFileSystem *MemFS) { in createInMemoryFile()
240 IntrusiveRefCntPtr<llvm::vfs::InMemoryFileSystem> InMemoryFileSystem( in fillRanges()
241 new llvm::vfs::InMemoryFileSystem); in fillRanges()
242 FileManager Files(FileSystemOptions(), InMemoryFileSystem); in fillRanges()
248 InMemoryFileSystem.get()); in fillRanges()
519 IntrusiveRefCntPtr<llvm::vfs::InMemoryFileSystem> InMemoryFileSystem( in format()
520 new llvm::vfs::InMemoryFileSystem); in format()
521 FileManager Files(FileSystemOptions(), InMemoryFileSystem); in format()
236 IntrusiveRefCntPtr<llvm::vfs::InMemoryFileSystem> InMemoryFileSystem( fillRanges() local
514 IntrusiveRefCntPtr<llvm::vfs::InMemoryFileSystem> InMemoryFileSystem( format() local
[all...]
/llvm-project/clang/unittests/Tooling/DependencyScanning/
H A DDependencyScanningFilesystemTest.cpp17 auto InMemoryFS = llvm::makeIntrusiveRefCnt<llvm::vfs::InMemoryFileSystem>();
40 auto InMemoryFS = llvm::makeIntrusiveRefCnt<llvm::vfs::InMemoryFileSystem>(); in exists()
78 auto InMemoryFS = llvm::makeIntrusiveRefCnt<llvm::vfs::InMemoryFileSystem>(); in TEST()
130 auto InMemoryFS = llvm::makeIntrusiveRefCnt<llvm::vfs::InMemoryFileSystem>(); in TEST()
151 auto InMemoryFS = llvm::makeIntrusiveRefCnt<llvm::vfs::InMemoryFileSystem>(); in TEST()
H A DDependencyScannerTest.cpp87 auto VFS = new llvm::vfs::InMemoryFileSystem(); in TEST()
136 auto VFS = new llvm::vfs::InMemoryFileSystem(); in TEST()
178 auto VFS = new llvm::vfs::InMemoryFileSystem(); in TEST()
220 auto VFS = new llvm::vfs::InMemoryFileSystem(); in TEST()
258 auto VFS = new llvm::vfs::InMemoryFileSystem(); in TEST()
/llvm-project/clang-tools-extra/clangd/unittests/
H A DSymbolCollectorTests.cpp328 : InMemoryFileSystem(new llvm::vfs::InMemoryFileSystem),
340 new FileManager(FileSystemOptions(), InMemoryFileSystem)); in TEST_F()
357 EXPECT_TRUE(InMemoryFileSystem->addFile( in TEST_F()
359 EXPECT_TRUE(InMemoryFileSystem->addFile( in TEST_F()
369 llvm::IntrusiveRefCntPtr<llvm::vfs::InMemoryFileSystem> InMemoryFileSystem; in TEST_F()
767 InMemoryFileSystem->addFile( in TEST_F()
776 InMemoryFileSystem->addFile( in TEST_F()
803 InMemoryFileSystem in TEST_F()
325 llvm::IntrusiveRefCntPtr<llvm::vfs::InMemoryFileSystem> InMemoryFileSystem; global() member in clang::clangd::__anon8dddb8c00111::SymbolCollectorTest
[all...]
H A DIndexActionTests.cpp79 IndexActionTest() : InMemoryFileSystem(new llvm::vfs::InMemoryFileSystem) {} in IndexActionTest()
86 new FileManager(FileSystemOptions(), InMemoryFileSystem));
111 InMemoryFileSystem->addFile(Path, 0, in addFile()
119 llvm::IntrusiveRefCntPtr<llvm::vfs::InMemoryFileSystem> InMemoryFileSystem; member in clang::clangd::__anonc593db390111::IndexActionTest
H A DCanonicalIncludesTests.cpp25 FileEntryRef addFile(llvm::vfs::InMemoryFileSystem &FS, FileManager &FM, in addFile()
34 auto InMemFS = llvm::makeIntrusiveRefCnt<llvm::vfs::InMemoryFileSystem>(); in TEST()
/llvm-project/clang-tools-extra/include-cleaner/unittests/
H A DTypesTest.cpp30 auto FS = llvm::makeIntrusiveRefCnt<llvm::vfs::InMemoryFileSystem>(); in TEST()
50 auto FS = llvm::makeIntrusiveRefCnt<llvm::vfs::InMemoryFileSystem>(); in TEST()
81 auto FS = llvm::makeIntrusiveRefCnt<llvm::vfs::InMemoryFileSystem>(); in TEST()
/llvm-project/clang/unittests/Basic/
H A DFileManagerTest.cpp457 auto FS = IntrusiveRefCntPtr<llvm::vfs::InMemoryFileSystem>( in TEST_F()
458 new llvm::vfs::InMemoryFileSystem); in TEST_F()
478 auto FS = IntrusiveRefCntPtr<llvm::vfs::InMemoryFileSystem>( in TEST_F()
479 new llvm::vfs::InMemoryFileSystem); in TEST_F()
504 auto FS = IntrusiveRefCntPtr<llvm::vfs::InMemoryFileSystem>( in TEST_F()
505 new llvm::vfs::InMemoryFileSystem); in TEST_F()
536 auto FS = IntrusiveRefCntPtr<llvm::vfs::InMemoryFileSystem>( in TEST_F()
537 new llvm::vfs::InMemoryFileSystem); in TEST_F()
H A DSarifTest.cpp44 : InMemoryFileSystem(new llvm::vfs::InMemoryFileSystem), in SarifDocumentWriterTest()
45 FileMgr(FileSystemOptions(), InMemoryFileSystem), in SarifDocumentWriterTest()
50 IntrusiveRefCntPtr<llvm::vfs::InMemoryFileSystem> InMemoryFileSystem;
51 IntrusiveRefCntPtr<llvm::vfs::InMemoryFileSystem> InMemoryFileSystem; global() member in __anon23ff074f0111::SarifDocumentWriterTest
/llvm-project/clang/lib/Interpreter/
H A DDeviceOffload.h33 llvm::IntrusiveRefCntPtr<llvm::vfs::InMemoryFileSystem> VFS,
51 llvm::IntrusiveRefCntPtr<llvm::vfs::InMemoryFileSystem> VFS;
/llvm-project/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/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::__anonb76c8ac80111::MacroExpansionContextTest
/llvm-project/clang/unittests/Tooling/Syntax/
H A DTreeTestBase.h46 IntrusiveRefCntPtr<llvm::vfs::InMemoryFileSystem> FS =
47 new llvm::vfs::InMemoryFileSystem;

123