/external/llvm-project/clang/unittests/Driver/ |
D | ToolChainTest.cpp | 35 IntrusiveRefCntPtr<llvm::vfs::InMemoryFileSystem> InMemoryFileSystem( in TEST() local 36 new llvm::vfs::InMemoryFileSystem); in TEST() 38 "clang LLVM compiler", InMemoryFileSystem); in TEST() 59 InMemoryFileSystem->addFile(Path, 0, in TEST() 89 IntrusiveRefCntPtr<llvm::vfs::InMemoryFileSystem> InMemoryFileSystem( in TEST() local 90 new llvm::vfs::InMemoryFileSystem); in TEST() 92 "clang LLVM compiler", InMemoryFileSystem); in TEST() 99 InMemoryFileSystem->addFile(Path, 0, in TEST() 129 IntrusiveRefCntPtr<llvm::vfs::InMemoryFileSystem> InMemoryFileSystem( in TEST() local 130 new llvm::vfs::InMemoryFileSystem); in TEST() [all …]
|
D | DistroTest.cpp | 29 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 …]
|
D | SanitizerArgsTest.cpp | 80 llvm::IntrusiveRefCntPtr<llvm::vfs::InMemoryFileSystem> 82 llvm::IntrusiveRefCntPtr<llvm::vfs::InMemoryFileSystem> FS = in prepareFS() 83 new llvm::vfs::InMemoryFileSystem; in prepareFS()
|
/external/clang/unittests/Driver/ |
D | ToolChainTest.cpp | 34 IntrusiveRefCntPtr<vfs::InMemoryFileSystem> InMemoryFileSystem( in TEST() local 35 new vfs::InMemoryFileSystem); in TEST() 37 InMemoryFileSystem); in TEST() 58 InMemoryFileSystem->addFile(Path, 0, in TEST() 87 IntrusiveRefCntPtr<vfs::InMemoryFileSystem> InMemoryFileSystem( in TEST() local 88 new vfs::InMemoryFileSystem); in TEST() 90 InMemoryFileSystem); in TEST() 97 InMemoryFileSystem->addFile(Path, 0, in TEST()
|
/external/clang/lib/Index/ |
D | SimpleFormatContext.h | 41 InMemoryFileSystem(new vfs::InMemoryFileSystem), in SimpleFormatContext() 42 Files(FileSystemOptions(), InMemoryFileSystem), in SimpleFormatContext() 49 InMemoryFileSystem->addFile(Name, 0, in createInMemoryFile() 66 IntrusiveRefCntPtr<vfs::InMemoryFileSystem> InMemoryFileSystem; variable
|
/external/clang/unittests/Tooling/ |
D | RewriterTestContext.h | 42 InMemoryFileSystem(new vfs::InMemoryFileSystem), in RewriterTestContext() 50 OverlayFileSystem->pushOverlay(InMemoryFileSystem); in RewriterTestContext() 58 InMemoryFileSystem->addFile(Name, 0, std::move(Source)); in createInMemoryFile() 117 IntrusiveRefCntPtr<vfs::InMemoryFileSystem> InMemoryFileSystem; variable
|
D | ToolingTest.cpp | 154 llvm::IntrusiveRefCntPtr<vfs::InMemoryFileSystem> InMemoryFileSystem( in TEST() local 155 new vfs::InMemoryFileSystem); in TEST() 156 OverlayFileSystem->pushOverlay(InMemoryFileSystem); in TEST() 166 InMemoryFileSystem->addFile( in TEST() 168 InMemoryFileSystem->addFile("def/abc", 0, in TEST() 180 llvm::IntrusiveRefCntPtr<vfs::InMemoryFileSystem> InMemoryFileSystem( in TEST() local 181 new vfs::InMemoryFileSystem); in TEST() 182 OverlayFileSystem->pushOverlay(InMemoryFileSystem); in TEST() 192 InMemoryFileSystem->addFile( in TEST() 194 InMemoryFileSystem->addFile("def/abc", 0, in TEST() [all …]
|
/external/llvm-project/clang-tools-extra/unittests/clang-include-fixer/ |
D | IncludeFixerTest.cpp | 26 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()
|
/external/clang/tools/clang-format/ |
D | ClangFormat.cpp | 115 vfs::InMemoryFileSystem *MemFS) { in createInMemoryFile() 132 IntrusiveRefCntPtr<vfs::InMemoryFileSystem> InMemoryFileSystem( in fillRanges() local 133 new vfs::InMemoryFileSystem); in fillRanges() 134 FileManager Files(FileSystemOptions(), InMemoryFileSystem); in fillRanges() 140 InMemoryFileSystem.get()); in fillRanges() 284 IntrusiveRefCntPtr<vfs::InMemoryFileSystem> InMemoryFileSystem( in format() local 285 new vfs::InMemoryFileSystem); in format() 286 FileManager Files(FileSystemOptions(), InMemoryFileSystem); in format() 292 InMemoryFileSystem.get()); in format()
|
/external/llvm-project/clang/unittests/Tooling/ |
D | RewriterTestContext.h | 55 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
|
D | ToolingTest.cpp | 175 llvm::IntrusiveRefCntPtr<llvm::vfs::InMemoryFileSystem> InMemoryFileSystem( in TEST() local 176 new llvm::vfs::InMemoryFileSystem); in TEST() 177 OverlayFileSystem->pushOverlay(InMemoryFileSystem); in TEST() 187 InMemoryFileSystem->addFile( in TEST() 189 InMemoryFileSystem->addFile("def/abc", 0, in TEST() 201 llvm::IntrusiveRefCntPtr<llvm::vfs::InMemoryFileSystem> InMemoryFileSystem( in TEST() local 202 new llvm::vfs::InMemoryFileSystem); in TEST() 203 OverlayFileSystem->pushOverlay(InMemoryFileSystem); in TEST() 213 InMemoryFileSystem->addFile( in TEST() 215 InMemoryFileSystem->addFile("def/abc", 0, in TEST() [all …]
|
/external/clang/lib/Tooling/ |
D | Tooling.cpp | 135 llvm::IntrusiveRefCntPtr<vfs::InMemoryFileSystem> InMemoryFileSystem( in runToolOnCodeWithArgs() local 136 new vfs::InMemoryFileSystem); in runToolOnCodeWithArgs() 137 OverlayFileSystem->pushOverlay(InMemoryFileSystem); in runToolOnCodeWithArgs() 145 InMemoryFileSystem->addFile(FileNameRef, 0, in runToolOnCodeWithArgs() 150 InMemoryFileSystem->addFile( in runToolOnCodeWithArgs() 322 InMemoryFileSystem(new vfs::InMemoryFileSystem), in ClangTool() 325 OverlayFileSystem->pushOverlay(InMemoryFileSystem); in ClangTool() 375 InMemoryFileSystem->addFile( in run() 420 InMemoryFileSystem->addFile( in run() 510 llvm::IntrusiveRefCntPtr<vfs::InMemoryFileSystem> InMemoryFileSystem( in buildASTFromCodeWithArgs() local [all …]
|
/external/llvm-project/clang/lib/Tooling/ |
D | Tooling.cpp | 208 llvm::IntrusiveRefCntPtr<llvm::vfs::InMemoryFileSystem> InMemoryFileSystem( in runToolOnCodeWithArgs() local 209 new llvm::vfs::InMemoryFileSystem); in runToolOnCodeWithArgs() 210 OverlayFileSystem->pushOverlay(InMemoryFileSystem); in runToolOnCodeWithArgs() 213 InMemoryFileSystem->addFile(FileName, 0, in runToolOnCodeWithArgs() 218 InMemoryFileSystem->addFile( in runToolOnCodeWithArgs() 410 InMemoryFileSystem(new llvm::vfs::InMemoryFileSystem), in ClangTool() 413 OverlayFileSystem->pushOverlay(InMemoryFileSystem); in ClangTool() 457 InMemoryFileSystem->addFile( in run() 523 InMemoryFileSystem->addFile( in run() 627 llvm::IntrusiveRefCntPtr<llvm::vfs::InMemoryFileSystem> InMemoryFileSystem( in buildASTFromCodeWithArgs() local [all …]
|
/external/llvm-project/clang-tools-extra/unittests/clang-include-fixer/find-all-symbols/ |
D | FindAllSymbolsTests.cpp | 65 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()
|
/external/clang/lib/Format/ |
D | TokenAnalyzer.cpp | 44 IntrusiveRefCntPtr<vfs::InMemoryFileSystem> InMemoryFileSystem( in CreateVirtualEnvironment() local 45 new vfs::InMemoryFileSystem); in CreateVirtualEnvironment() 49 new FileManager(FileSystemOptions(), InMemoryFileSystem)); in CreateVirtualEnvironment() 59 InMemoryFileSystem->addFile( in CreateVirtualEnvironment()
|
/external/llvm-project/clang-tools-extra/unittests/clang-tidy/ |
D | ClangTidyTest.h | 120 llvm::IntrusiveRefCntPtr<llvm::vfs::InMemoryFileSystem> InMemoryFileSystem( 121 new llvm::vfs::InMemoryFileSystem); 123 new FileManager(FileSystemOptions(), InMemoryFileSystem)); 131 InMemoryFileSystem->addFile(Filename, 0, 134 InMemoryFileSystem->addFile(
|
D | OptionsProviderTest.cpp | 20 llvm::IntrusiveRefCntPtr<llvm::vfs::InMemoryFileSystem> FileSystem( in TEST() 21 new llvm::vfs::InMemoryFileSystem); in TEST()
|
/external/llvm-project/clang/tools/clang-format/ |
D | ClangFormat.cpp | 179 llvm::vfs::InMemoryFileSystem *MemFS) { in createInMemoryFile() 197 IntrusiveRefCntPtr<llvm::vfs::InMemoryFileSystem> InMemoryFileSystem( in fillRanges() local 198 new llvm::vfs::InMemoryFileSystem); in fillRanges() 199 FileManager Files(FileSystemOptions(), InMemoryFileSystem); in fillRanges() 205 InMemoryFileSystem.get()); in fillRanges() 423 IntrusiveRefCntPtr<llvm::vfs::InMemoryFileSystem> InMemoryFileSystem( in format() local 424 new llvm::vfs::InMemoryFileSystem); in format() 425 FileManager Files(FileSystemOptions(), InMemoryFileSystem); in format() 431 InMemoryFileSystem.get()); in format()
|
/external/clang/unittests/Lex/ |
D | PPCallbacksTest.cpp | 113 : InMemoryFileSystem(new vfs::InMemoryFileSystem), in PPCallbacksTest() 114 FileMgr(FileSystemOptions(), InMemoryFileSystem), in PPCallbacksTest() 122 IntrusiveRefCntPtr<vfs::InMemoryFileSystem> InMemoryFileSystem; member in __anon701ea7170111::PPCallbacksTest 137 InMemoryFileSystem->addFile(HeaderPath, 0, in AddFakeHeader()
|
/external/llvm-project/clang-tools-extra/clangd/unittests/ |
D | IndexActionTests.cpp | 69 IndexActionTest() : InMemoryFileSystem(new llvm::vfs::InMemoryFileSystem) {} in IndexActionTest() 76 new FileManager(FileSystemOptions(), InMemoryFileSystem)); 101 InMemoryFileSystem->addFile(Path, 0, in addFile() 109 llvm::IntrusiveRefCntPtr<llvm::vfs::InMemoryFileSystem> InMemoryFileSystem; member in clang::clangd::__anon7e85be7d0111::IndexActionTest
|
/external/llvm-project/clang-tools-extra/clangd/unittests/tweaks/ |
D | TweakTests.cpp | 46 llvm::IntrusiveRefCntPtr<llvm::vfs::InMemoryFileSystem> MemFS( in TEST() 47 new llvm::vfs::InMemoryFileSystem); in TEST()
|
/external/llvm-project/clang/unittests/Basic/ |
D | FileManagerTest.cpp | 447 auto FS = IntrusiveRefCntPtr<llvm::vfs::InMemoryFileSystem>( in TEST_F() 448 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() 506 auto FS = IntrusiveRefCntPtr<llvm::vfs::InMemoryFileSystem>( in TEST_F() 507 new llvm::vfs::InMemoryFileSystem); in TEST_F() 539 auto FS = IntrusiveRefCntPtr<llvm::vfs::InMemoryFileSystem>( in TEST_F() 540 new llvm::vfs::InMemoryFileSystem); in TEST_F()
|
/external/llvm-project/clang/unittests/Tooling/Syntax/ |
D | TreeTestBase.h | 45 IntrusiveRefCntPtr<llvm::vfs::InMemoryFileSystem> FS = 46 new llvm::vfs::InMemoryFileSystem;
|
/external/llvm-project/clang/unittests/Lex/ |
D | PPCallbacksTest.cpp | 119 : InMemoryFileSystem(new llvm::vfs::InMemoryFileSystem), in PPCallbacksTest() 120 FileMgr(FileSystemOptions(), InMemoryFileSystem), in PPCallbacksTest() 128 IntrusiveRefCntPtr<llvm::vfs::InMemoryFileSystem> InMemoryFileSystem; member in __anon51328c050111::PPCallbacksTest 143 InMemoryFileSystem->addFile(HeaderPath, 0, in AddFakeHeader()
|
D | HeaderSearchTest.cpp | 29 : VFS(new llvm::vfs::InMemoryFileSystem), FileMgr(FileMgrOpts, VFS), in HeaderSearchTest() 48 IntrusiveRefCntPtr<llvm::vfs::InMemoryFileSystem> VFS;
|