Searched refs:AnnotatedCode (Results 1 – 7 of 7) sorted by relevance
/external/llvm-project/clang-tools-extra/clangd/unittests/ |
D | FindTargetTests.cpp | 912 std::string AnnotatedCode; member 954 std::string AnnotatedCode; in annotateReferencesInFoo() local 971 AnnotatedCode += Code.substr(NextCodeChar, Offset - NextCodeChar); in annotateReferencesInFoo() 972 AnnotatedCode += "$" + std::to_string(I) + "^"; in annotateReferencesInFoo() 977 AnnotatedCode += Code.substr(NextCodeChar); in annotateReferencesInFoo() 983 return AllRefs{std::move(AnnotatedCode), std::move(DumpedReferences)}; in annotateReferencesInFoo() 1635 EXPECT_EQ(ExpectedCode, Actual.AnnotatedCode); in TEST_F()
|
D | PrintASTTests.cpp | 26 const char *AnnotatedCode; member 34 Annotations Test(Pair.AnnotatedCode); in TEST_P()
|
D | ASTTests.cpp | 31 StringRef AnnotatedCode; in TEST() member 38 Annotations File(T.AnnotatedCode); in TEST()
|
D | XRefsTests.cpp | 1846 StringRef AnnotatedCode; in TEST() member 1859 Annotations File(T.AnnotatedCode); in TEST() 1864 EXPECT_NE(Rec.RefIDs, None) << T.AnnotatedCode; in TEST() 1866 EXPECT_EQ(Rec.RefIDs, None) << T.AnnotatedCode; in TEST() 1872 llvm::StringRef AnnotatedCode; in TEST() member 1925 Annotations File(C.AnnotatedCode); in TEST()
|
/external/llvm-project/clang/unittests/Sema/ |
D | CodeCompleteTest.cpp | 111 CompletionContext runCodeCompleteOnCode(StringRef AnnotatedCode) { in runCodeCompleteOnCode() argument 112 llvm::Annotations A(AnnotatedCode); in runCodeCompleteOnCode() 117 collectPreferredTypes(StringRef AnnotatedCode, in collectPreferredTypes() argument 119 llvm::Annotations A(AnnotatedCode); in collectPreferredTypes()
|
/external/llvm-project/clang/unittests/Tooling/ |
D | SourceCodeTest.cpp | 108 bool runOverAnnotated(llvm::StringRef AnnotatedCode, in runOverAnnotated() argument 110 Code = llvm::Annotations(AnnotatedCode); 116 EXPECT_EQ(MatchCount, 1) << AnnotatedCode; 331 auto Visit = [&](llvm::StringRef AnnotatedCode) { in TEST() argument 332 Visitor.runOverAnnotated(AnnotatedCode, {"-fparse-all-comments"}); in TEST()
|
/external/llvm-project/clang/unittests/Tooling/Syntax/ |
D | BuildTreeTest.cpp | 45 auto AnnotatedCode = llvm::Annotations(CodeWithAnnotations); in treeDumpEqualOnAnnotations() local 46 auto *Root = buildTree(AnnotatedCode.code(), GetParam()); in treeDumpEqualOnAnnotations() 54 auto AnnotatedRanges = AnnotatedCode.ranges(); in treeDumpEqualOnAnnotations() 72 << AnnotatedCode.code().slice(AnnotatedRanges[i].Begin, in treeDumpEqualOnAnnotations()
|