/external/llvm-project/clang-tools-extra/clangd/unittests/ |
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 | 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 | SelectionTests.cpp | 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 | 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 | 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 | XRefsTests.cpp | 120 auto AST = TestTU::withCode(T.code()).build(); in TEST() 255 auto TU = TestTU::withCode(T.code()); in TEST() 314 auto AST = TestTU::withCode(Main.code()).build(); in TEST() 372 auto AST = TestTU::withCode(Test.code()).build(); in TEST() 916 auto TU = TestTU::withCode(T.code()); in TEST() 957 auto TU = TestTU::withCode(T.code()); in TEST() 1021 auto TU = TestTU::withCode(T.code()); in TEST() 1168 auto AST = TestTU::withCode(T.code()).build(); in TEST() 1366 auto AST = TestTU::withCode(T.code()).build(); in TEST() 1448 auto AST = TestTU::withCode(T.code()).build(); in TEST() [all …]
|
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 | RenameTests.cpp | 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 | HeaderSourceSwitchTests.cpp | 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 | 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 | SemanticSelectionTests.cpp | 162 auto AST = TestTU::withCode(T.code()).build(); in TEST() 265 auto AST = TestTU::withCode(T.code()).build(); 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() 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 | CompilerTests.cpp | 55 TestTU TU = TestTU::withCode("#pragma clang __debug parser_crash"); in TEST()
|
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()
|
D | TestTU.h | 36 static TestTU withCode(llvm::StringRef Code) { in withCode() function
|
D | SymbolInfoTests.cpp | 332 auto AST = TestTU::withCode(TestInput.code()).build(); in TEST()
|
D | ExpectedTypeTest.cpp | 32 AST = TestTU::withCode(Code).build(); in build()
|
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 | CodeCompletionStringsTests.cpp | 62 auto TU = TestTU::withCode("/*x\xffy*/ struct X;"); in TEST_F()
|
D | CodeCompleteTests.cpp | 132 auto TU = TestTU::withCode(Test.code()); 790 auto TU = TestTU::withCode(Test.code()); in TEST() 1124 auto TU = TestTU::withCode(Text); 2385 auto TU = TestTU::withCode(Test.code()); in TEST() 2417 auto TU = TestTU::withCode(Test.code()); in TEST() 2533 auto TU = TestTU::withCode(Test.code()); in TEST() 2862 auto TU = TestTU::withCode(Test.code()); in TEST()
|
D | ParsedASTTests.cpp | 208 auto TU = TestTU::withCode(R"cpp( in TEST() 329 auto TU = TestTU::withCode(TestCase.code()); in TEST()
|
D | FileIndexTests.cpp | 478 TestTU Header = TestTU::withCode(CommonHeader); in TEST() 479 TestTU Cpp = TestTU::withCode("void foo() {}"); in TEST() 563 auto TU = TestTU::withCode(llvm::formatv("int xxx{0};", I).str()); in TEST()
|
D | HeadersTests.cpp | 186 auto TU = TestTU::withCode(R"cpp( in TEST_F()
|