Home
last modified time | relevance | path

Searched refs:AdditionalFiles (Results 1 – 18 of 18) sorted by relevance

/external/llvm-project/clang-tools-extra/clangd/unittests/
DModulesTests.cpp30 TU.AdditionalFiles["Textual.h"] = "void foo();"; in TEST()
31 TU.AdditionalFiles["m.modulemap"] = R"modulemap( in TEST()
56 TU.AdditionalFiles["module.h"] = R"cpp( in TEST()
59 TU.AdditionalFiles["m.modulemap"] = R"modulemap( in TEST()
81 TU.AdditionalFiles["modular.h"] = R"cpp( in TEST()
84 TU.AdditionalFiles["non-modular.h"] = ""; in TEST()
85 TU.AdditionalFiles["m.modulemap"] = R"modulemap( in TEST()
DParsedASTTests.cpp220 TU.AdditionalFiles["foo.h"] = R"( in TEST()
335 TU.AdditionalFiles["foo.inc"] = R"cpp( in TEST()
417 TU.AdditionalFiles["bar.h"] = ""; in TEST()
418 TU.AdditionalFiles["baz.h"] = ""; in TEST()
419 TU.AdditionalFiles["a.h"] = ""; in TEST()
466 TU.AdditionalFiles["a.h"] = ""; in TEST()
467 TU.AdditionalFiles["b.h"] = ""; in TEST()
468 TU.AdditionalFiles["c.h"] = ""; in TEST()
551 TU.AdditionalFiles["foo.h"] = "void foo();"; in TEST()
552 TU.AdditionalFiles["sub/baz.h"] = "void baz();"; in TEST()
[all …]
DFindSymbolsTests.cpp81 TU.AdditionalFiles["foo.h"] = R"cpp( in TEST()
99 TU.AdditionalFiles["foo.h"] = R"cpp( in TEST()
126 TU.AdditionalFiles["foo.h"] = R"cpp( in TEST()
180 TU.AdditionalFiles["foo.h"] = R"cpp( in TEST()
184 TU.AdditionalFiles["foo2.h"] = R"cpp( in TEST()
198 TU.AdditionalFiles["foo.h"] = R"cpp( in TEST()
223 TU.AdditionalFiles["foo.h"] = R"cpp( in TEST()
264 TU.AdditionalFiles["foo.h"] = R"cpp( in TEST()
287 TU.AdditionalFiles["foo.h"] = R"cpp( in TEST()
448 TU.AdditionalFiles["foo.h"] = R"cpp( in TEST()
[all …]
DCompilerTests.cpp25 TU.AdditionalFiles["test.h.pch"] = ""; in TEST()
41 TU.AdditionalFiles["test.pch"] = ""; in TEST()
DDiagnosticsTests.cpp293 TU.AdditionalFiles["a.h"] = TU.AdditionalFiles["b.h"] = ""; in TEST()
1094 TU.AdditionalFiles = {{"a.h", std::string(Header.code())}}; in TEST()
1107 TU.AdditionalFiles = {{"a.h", "#include \"b.h\""}, in TEST()
1121 TU.AdditionalFiles = {{"a.h", "no_type_spec; // error-ok"}, in TEST()
1137 TU.AdditionalFiles = { in TEST()
1154 TU.AdditionalFiles = { in TEST()
1170 TU.AdditionalFiles = {{"a.h", "#include \"c.h\"\n"}, in TEST()
1201 TU.AdditionalFiles = {{"a.h", std::string(Header.code())}}; in TEST()
1217 TU.AdditionalFiles = {{"a.h", std::string(Header.code())}}; in TEST()
1231 TU.AdditionalFiles = {{"a.h", std::string(Header.code())}}; in TEST()
[all …]
DPreambleTests.cpp174 TU.AdditionalFiles["a.h"] = "#include \"b.h\""; in TEST()
175 TU.AdditionalFiles["b.h"] = ""; in TEST()
176 TU.AdditionalFiles["c.h"] = ""; in TEST()
DHeaderSourceSwitchTests.cpp199 TUForIndex.AdditionalFiles["a.h"] = R"cpp( in TEST()
202 TUForIndex.AdditionalFiles["b.h"] = R"cpp( in TEST()
DSemanticHighlightingTests.cpp110 AdditionalFiles = {}) { in checkHighlightings() argument
120 for (auto File : AdditionalFiles)
121 TU.AdditionalFiles.insert({File.first, std::string(File.second)});
DTestWorkspace.cpp46 TU.AdditionalFiles.insert(std::make_pair(Filename, Input.Code)); in addInput()
DTestTU.h57 llvm::StringMap<std::string> AdditionalFiles; member
DTestTU.cpp33 FS.Files = AdditionalFiles; in inputs()
127 for (const auto &KV : this->AdditionalFiles) in build()
DSelectionTests.cpp564 TU.AdditionalFiles["Expand.inc"] = "MACRO\n"; in TEST()
582 TU.AdditionalFiles["Expand.inc"] = "while(1)\n"; in TEST()
DRenameTests.cpp1076 TU.AdditionalFiles["foo.inc"] = R"cpp( in TEST()
1204 TU.AdditionalFiles["bar.cc"] = std::string(BarCode.code()); in TEST()
1261 TU.AdditionalFiles["bar.cc"] = std::string(BarCode.code()); in TEST()
DSourceCodeTests.cpp649 TU.AdditionalFiles["Expand.inc"] = "MACRO\n"; in TEST()
672 TU.AdditionalFiles["foo.inc"] = "int foo;\n"; in TEST()
673 TU.AdditionalFiles["bar.inc"] = "int bar;\n"; in TEST()
DCodeCompleteTests.cpp731 TU.AdditionalFiles["sub/bar.h"] = ""; in TEST()
791 TU.AdditionalFiles["bar.h"] = in TEST()
1317 TU.AdditionalFiles["a.h"] = "int foo(int x);"; in TEST()
1993 TU.AdditionalFiles["foo/abc/foo.h"] = ""; in TEST()
2386 TU.AdditionalFiles["foo.h"] = ""; in TEST()
2534 TU.AdditionalFiles["sub/bar.h"] = ""; in TEST()
DSymbolCollectorTests.cpp1783 TU.AdditionalFiles["bar.h"] = R"cpp( in TEST_F()
1787 TU.AdditionalFiles["foo.h"] = "#define X 1"; in TEST_F()
1788 TU.AdditionalFiles["module.map"] = R"cpp( in TEST_F()
DXRefsTests.cpp1689 TU.AdditionalFiles["foo.inc"] = R"cpp( in TEST()
1956 TU.AdditionalFiles = {{"foo.h", ""}, {"bar.h", ""}}; in TEST()
/external/llvm-project/clang-tools-extra/clangd/unittests/tweaks/
DTweakTesting.cpp99 TU.AdditionalFiles = std::move(ExtraFiles);
117 TU.AdditionalFiles = std::move(ExtraFiles); in apply()