/external/llvm-project/clang-tools-extra/clangd/unittests/ |
D | TypeHierarchyTests.cpp | 69 TestTU TU = TestTU::withCode(Source.code()); in TEST() 91 TestTU TU = TestTU::withCode(Source.code()); in TEST() 112 TestTU TU = TestTU::withCode(Source.code()); in TEST() 139 TestTU TU = TestTU::withCode(Source.code()); in TEST() 173 TestTU TU = TestTU::withCode(Source.code()); in TEST() 198 TestTU TU = TestTU::withCode(Source.code()); in TEST() 246 TestTU TU = TestTU::withCode(Source.code()); in TEST() 273 TestTU TU = TestTU::withCode(Source.code()); in TEST() 302 TestTU TU = TestTU::withCode(Source.code()); in TEST() 326 TestTU TU = TestTU::withCode(Source.code()); in TEST() [all …]
|
D | DiagnosticsTests.cpp | 132 auto TU = TestTU::withCode(Test.code()); in TEST() 172 auto TU = TestTU::withCode(Test.code()); in TEST() 191 auto TU = TestTU::withCode(Test.code()); in TEST() 202 auto TU = TestTU::withCode(Test.code()); in TEST() 247 auto TU = TestTU::withCode(Test.code()); in TEST() 291 auto TU = TestTU::withCode(Test.code()); in TEST() 311 TestTU TU = TestTU::withCode(Main.code()); in TEST() 329 TestTU TU = TestTU::withCode(Main.code()); in TEST() 365 TestTU TU = TestTU::withCode(Main.code()); in TEST() 388 TestTU TU = TestTU::withCode(Main.code()); in TEST() [all …]
|
D | FindSymbolsTests.cpp | 47 std::vector<SymbolInformation> getSymbols(TestTU &TU, llvm::StringRef Query, in getSymbols() 56 TestTU TU; in TEST() 69 TestTU TU; in TEST() 80 TestTU TU; in TEST() 98 TestTU TU; in TEST() 115 TestTU TU; in TEST() 125 TestTU TU; in TEST() 169 TestTU TU; in TEST() 179 TestTU TU; in TEST() 197 TestTU TU; in TEST() [all …]
|
D | ModulesTests.cpp | 23 TestTU TU = TestTU::withCode(R"cpp( in TEST() 45 TestTU TU = TestTU::withCode(R"cpp( in TEST() 70 TestTU TU = TestTU::withCode(R"cpp( in TEST()
|
D | TestTU.h | 35 struct TestTU { struct 36 static TestTU withCode(llvm::StringRef Code) { in withCode() argument 37 TestTU TU; in withCode() 42 static TestTU withHeaderCode(llvm::StringRef HeaderCode) { in withHeaderCode() argument 43 TestTU TU; in withHeaderCode()
|
D | HeaderSourceSwitchTests.cpp | 85 TestTU TU; in TEST() 118 TestTU Testing; in TEST() 176 TestTU TU = TestTU::withCode(Case.HeaderCode); in TEST() 190 TestTU TUForIndex = TestTU::withCode(R"cpp( in TEST() 243 TestTU TU = TestTU::withCode(Case.SourceCode); in TEST()
|
D | XRefsTests.cpp | 120 auto AST = TestTU::withCode(T.code()).build(); in TEST() 255 auto TU = TestTU::withCode(T.code()); in TEST() 309 TestTU TU; in TEST() 314 auto AST = TestTU::withCode(Main.code()).build(); in TEST() 357 TestTU TU; in TEST() 372 auto AST = TestTU::withCode(Test.code()).build(); in TEST() 750 TestTU TU; in TEST() 839 TestTU TU; in TEST() 890 TestTU TU; in TEST() 916 auto TU = TestTU::withCode(T.code()); in TEST() [all …]
|
D | SelectionTests.cpp | 441 TestTU TU; in TEST() 482 auto AST = TestTU::withCode(Annotations(Code).code()).build(); in TEST() 496 auto AST = TestTU::withCode(Annotations(Code).code()).build(); in TEST() 540 auto AST = TestTU::withCode(Test.code()).build(); in TEST() 563 auto TU = TestTU::withCode(Test.code()); in TEST() 581 auto TU = TestTU::withCode(Test.code()); in TEST() 598 auto AST = TestTU::withCode(Test.code()).build(); in TEST() 611 AST = TestTU::withCode(Test.code()).build(); in TEST() 623 auto AST = TestTU::withCode(Annotations(Test).code()).build(); in TEST() 638 auto AST = TestTU::withCode(Test.code()).build(); in TEST()
|
D | ASTTests.cpp | 39 auto AST = TestTU::withCode(File.code()).build(); in TEST() 120 TestTU TU = TestTU::withCode(Test.code()); in TEST() 186 TestTU TU = TestTU::withCode(Test.code()); in TEST()
|
D | CompilerTests.cpp | 24 TestTU TU; in TEST() 55 TestTU TU = TestTU::withCode("#pragma clang __debug parser_crash"); in TEST()
|
D | CallHierarchyTests.cpp | 67 TestTU TU = TestTU::withCode(Source.code()); in TEST() 111 TestTU TU = TestTU::withCode(Source.code()); in TEST() 144 TestTU TU = TestTU::withCode(Source.code()); in TEST()
|
D | ParsedASTTests.cpp | 109 TestTU TU; in TEST() 126 TestTU TU; in TEST() 146 TestTU TU; in TEST() 162 TestTU TU; in TEST() 208 auto TU = TestTU::withCode(R"cpp( in TEST() 219 TestTU TU; in TEST() 251 TestTU TU; in TEST() 329 auto TU = TestTU::withCode(TestCase.code()); in TEST() 408 TestTU TU; in TEST() 549 TestTU TU; in TEST() [all …]
|
D | TestTU.cpp | 24 ParseInputs TestTU::inputs(MockFS &FS) const { in inputs() 84 TestTU::preamble(PreambleParsedCallback PreambleCallback) const { in preamble() 98 ParsedAST TestTU::build() const { in build() 145 SymbolSlab TestTU::headerSymbols() const { in headerSymbols() 152 RefSlab TestTU::headerRefs() const { in headerRefs() 157 std::unique_ptr<SymbolIndex> TestTU::index() const { in index()
|
D | DumpASTTests.cpp | 142 ParsedAST AST = TestTU::withCode(Case.first).build(); in TEST() 152 ParsedAST AST = TestTU::withCode(Case.code()).build(); in TEST() 161 ParsedAST AST = TestTU::withCode("int x;").build(); in TEST()
|
D | PreambleTests.cpp | 54 auto TU = TestTU::withCode(BaselineContents); in collectPatchedIncludes() 170 auto TU = TestTU::withCode(R"cpp( in TEST() 197 auto BaselinePreamble = TestTU::withCode(Baseline).preamble(); in TEST() 205 auto TU = TestTU::withCode(Modified); in TEST() 217 auto BaselinePreamble = TestTU::withCode(Baseline).preamble(); in TEST() 223 auto TU = TestTU::withCode(Modified); in TEST() 515 auto TU = TestTU::withCode(Case.Baseline); in TEST()
|
D | RenameTests.cpp | 54 TestTU TU; in buildRefSlab() 831 auto TU = TestTU::withCode(Code.code()); in TEST() 855 TestTU OtherFile = TestTU::withCode("Outside s; auto ss = &foo;"); in TEST() 1032 TestTU TU = TestTU::withCode(T.code()); in TEST() 1075 auto TU = TestTU::withCode(Code.code()); in TEST() 1094 auto TU = TestTU::withCode(Code.code()); in TEST() 1182 TestTU TU = TestTU::withCode(MainCode.code()); in TEST() 1202 TU = TestTU::withCode(MainCode.code()); in TEST() 1259 auto TU = TestTU::withCode(MainCode.code()); in TEST() 1512 auto TU = TestTU::withCode(Code.code()); in TEST()
|
D | FileIndexTests.cpp | 170 TestTU File; in update() 241 TestTU TU; in TEST() 343 findSymbol(TestTU::withHeaderCode(HeaderCode).headerSymbols(), "Foo"); in TEST() 350 TestTU Test; in TEST() 357 TestTU Test2; in TEST() 385 TestTU Test; in TEST() 412 TestTU TU; in TEST() 458 TestTU TU; in TEST() 478 TestTU Header = TestTU::withCode(CommonHeader); in TEST() 479 TestTU Cpp = TestTU::withCode("void foo() {}"); in TEST() [all …]
|
D | QualityTests.cpp | 42 auto Header = TestTU::withHeaderCode(R"cpp( in TEST() 89 TestTU Test; in TEST() 358 auto Header = TestTU::withHeaderCode(R"cpp( in TEST() 383 auto Header = TestTU::withHeaderCode(R"cpp( in TEST() 424 auto Header = TestTU::withHeaderCode(R"cpp( in TEST() 458 auto Header = TestTU::withHeaderCode(R"cpp( in TEST() 481 auto Header = TestTU::withHeaderCode(R"cpp( in TEST()
|
D | SourceCodeTests.cpp | 352 auto TU = TestTU::withCode(A.code()); in tryWord() 526 TestTU TU = TestTU::withCode(Code.code()); in TEST() 539 TestTU TU = TestTU::withCode(Code.code()); in TEST() 552 TestTU TU; in TEST() 613 ParsedAST AST = TestTU::withCode(Test.code()).build(); in TEST() 648 auto TU = TestTU::withCode(Test.code()); in TEST() 671 auto TU = TestTU::withCode(Test.code()); in TEST()
|
D | SemanticSelectionTests.cpp | 162 auto AST = TestTU::withCode(T.code()).build(); in TEST() 265 auto AST = TestTU::withCode(T.code()).build(); in TEST()
|
D | HoverTests.cpp | 844 TestTU TU = TestTU::withCode(T.code()); in TEST() 944 TestTU TU = TestTU::withCode(T.code()); in TEST() 1005 TestTU TU = TestTU::withCode(T.code()); in TEST() 2036 TestTU TU = TestTU::withCode(T.code()); in TEST() 2077 TestTU TU = TestTU::withCode(T.code()); in TEST() 2110 TestTU TU = TestTU::withCode(T.code()); in TEST() 2133 TestTU TU = TestTU::withCode(T.code()); in TEST()
|
D | TestWorkspace.h | 51 TestTU TU;
|
D | CollectMacrosTests.cpp | 79 auto AST = TestTU::withCode(T.code()).build(); in TEST()
|
D | PrintASTTests.cpp | 35 auto AST = TestTU::withCode(Test.code()).build(); in TEST_P()
|
/external/llvm-project/clang-tools-extra/clangd/unittests/tweaks/ |
D | TweakTesting.cpp | 94 TestTU TU; 114 TestTU TU; in apply()
|