Home
last modified time | relevance | path

Searched refs:AnnotatedCode (Results 1 – 25 of 87) sorted by relevance

1234

/dports/devel/llvm80/llvm-8.0.1.src/tools/clang/unittests/Sema/
H A DCodeCompleteTest.cpp118 ParsedAnnotations parseAnnotations(StringRef AnnotatedCode) { in parseAnnotations() argument
120 while (!AnnotatedCode.empty()) { in parseAnnotations()
121 size_t NextPoint = AnnotatedCode.find('^'); in parseAnnotations()
123 R.Code += AnnotatedCode; in parseAnnotations()
124 AnnotatedCode = ""; in parseAnnotations()
127 R.Code += AnnotatedCode.substr(0, NextPoint); in parseAnnotations()
130 AnnotatedCode = AnnotatedCode.substr(NextPoint + 1); in parseAnnotations()
135 CompletionContext runCodeCompleteOnCode(StringRef AnnotatedCode) { in runCodeCompleteOnCode() argument
136 ParsedAnnotations P = parseAnnotations(AnnotatedCode); in runCodeCompleteOnCode()
142 collectPreferredTypes(StringRef AnnotatedCode, in collectPreferredTypes() argument
[all …]
/dports/devel/tinygo/tinygo-0.14.1/llvm-project/clang-tools-extra/clangd/unittests/
H A DFindTargetTests.cpp567 std::string AnnotatedCode; member
613 std::string AnnotatedCode; in annotateReferencesInFoo() local
630 AnnotatedCode += Code.substr(NextCodeChar, Offset - NextCodeChar); in annotateReferencesInFoo()
631 AnnotatedCode += "$" + std::to_string(I) + "^"; in annotateReferencesInFoo()
636 AnnotatedCode += Code.substr(NextCodeChar); in annotateReferencesInFoo()
642 return AllRefs{std::move(AnnotatedCode), std::move(DumpedReferences)}; in annotateReferencesInFoo()
1021 EXPECT_EQ(ExpectedCode, Actual.AnnotatedCode); in TEST_F()
H A DPrintASTTests.cpp26 const char *AnnotatedCode; member
34 Annotations Test(Pair.AnnotatedCode); in TEST_P()
/dports/devel/llvm10/llvm-10.0.1.src/tools/clang/tools/extra/clangd/unittests/
H A DFindTargetTests.cpp567 std::string AnnotatedCode; member
613 std::string AnnotatedCode; in annotateReferencesInFoo() local
630 AnnotatedCode += Code.substr(NextCodeChar, Offset - NextCodeChar); in annotateReferencesInFoo()
631 AnnotatedCode += "$" + std::to_string(I) + "^"; in annotateReferencesInFoo()
636 AnnotatedCode += Code.substr(NextCodeChar); in annotateReferencesInFoo()
642 return AllRefs{std::move(AnnotatedCode), std::move(DumpedReferences)}; in annotateReferencesInFoo()
1021 EXPECT_EQ(ExpectedCode, Actual.AnnotatedCode); in TEST_F()
H A DPrintASTTests.cpp26 const char *AnnotatedCode; member
34 Annotations Test(Pair.AnnotatedCode); in TEST_P()
/dports/devel/llvm11/llvm-11.0.1.src/tools/clang/tools/extra/clangd/unittests/
H A DFindTargetTests.cpp631 std::string AnnotatedCode; member
673 std::string AnnotatedCode; in annotateReferencesInFoo() local
690 AnnotatedCode += Code.substr(NextCodeChar, Offset - NextCodeChar); in annotateReferencesInFoo()
691 AnnotatedCode += "$" + std::to_string(I) + "^"; in annotateReferencesInFoo()
696 AnnotatedCode += Code.substr(NextCodeChar); in annotateReferencesInFoo()
702 return AllRefs{std::move(AnnotatedCode), std::move(DumpedReferences)}; in annotateReferencesInFoo()
1332 EXPECT_EQ(ExpectedCode, Actual.AnnotatedCode); in TEST_F()
H A DPrintASTTests.cpp26 const char *AnnotatedCode; member
34 Annotations Test(Pair.AnnotatedCode); in TEST_P()
/dports/devel/llvm-cheri/llvm-project-37c49ff00e3eadce5d8703fdc4497f28458c64a8/clang-tools-extra/clangd/unittests/
H A DFindTargetTests.cpp631 std::string AnnotatedCode; member
673 std::string AnnotatedCode; in annotateReferencesInFoo() local
690 AnnotatedCode += Code.substr(NextCodeChar, Offset - NextCodeChar); in annotateReferencesInFoo()
691 AnnotatedCode += "$" + std::to_string(I) + "^"; in annotateReferencesInFoo()
696 AnnotatedCode += Code.substr(NextCodeChar); in annotateReferencesInFoo()
702 return AllRefs{std::move(AnnotatedCode), std::move(DumpedReferences)}; in annotateReferencesInFoo()
1332 EXPECT_EQ(ExpectedCode, Actual.AnnotatedCode); in TEST_F()
H A DPrintASTTests.cpp26 const char *AnnotatedCode; member
34 Annotations Test(Pair.AnnotatedCode); in TEST_P()
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/llvm/clang-tools-extra/clangd/unittests/
H A DFindTargetTests.cpp912 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()
H A DPrintASTTests.cpp26 const char *AnnotatedCode; member
34 Annotations Test(Pair.AnnotatedCode); in TEST_P()
/dports/devel/wasi-libcxx/llvm-project-13.0.1.src/clang-tools-extra/clangd/unittests/
H A DFindTargetTests.cpp1003 std::string AnnotatedCode; member
1048 std::string AnnotatedCode; in annotateReferencesInFoo() local
1065 AnnotatedCode += Code.substr(NextCodeChar, Offset - NextCodeChar); in annotateReferencesInFoo()
1066 AnnotatedCode += "$" + std::to_string(I) + "^"; in annotateReferencesInFoo()
1071 AnnotatedCode += Code.substr(NextCodeChar); in annotateReferencesInFoo()
1077 return AllRefs{std::move(AnnotatedCode), std::move(DumpedReferences)}; in annotateReferencesInFoo()
1803 EXPECT_EQ(ExpectedCode, Actual.AnnotatedCode); in TEST_F()
H A DPrintASTTests.cpp26 const char *AnnotatedCode; member
34 Annotations Test(Pair.AnnotatedCode); in TEST_P()
/dports/devel/llvm12/llvm-project-12.0.1.src/clang-tools-extra/clangd/unittests/
H A DFindTargetTests.cpp971 std::string AnnotatedCode; member
1013 std::string AnnotatedCode; in annotateReferencesInFoo() local
1030 AnnotatedCode += Code.substr(NextCodeChar, Offset - NextCodeChar); in annotateReferencesInFoo()
1031 AnnotatedCode += "$" + std::to_string(I) + "^"; in annotateReferencesInFoo()
1036 AnnotatedCode += Code.substr(NextCodeChar); in annotateReferencesInFoo()
1042 return AllRefs{std::move(AnnotatedCode), std::move(DumpedReferences)}; in annotateReferencesInFoo()
1694 EXPECT_EQ(ExpectedCode, Actual.AnnotatedCode); in TEST_F()
H A DPrintASTTests.cpp26 const char *AnnotatedCode; member
34 Annotations Test(Pair.AnnotatedCode); in TEST_P()
/dports/devel/llvm-devel/llvm-project-f05c95f10fc1d8171071735af8ad3a9e87633120/clang-tools-extra/clangd/unittests/
H A DFindTargetTests.cpp1017 std::string AnnotatedCode; member
1062 std::string AnnotatedCode; in annotateReferencesInFoo() local
1079 AnnotatedCode += Code.substr(NextCodeChar, Offset - NextCodeChar); in annotateReferencesInFoo()
1080 AnnotatedCode += "$" + std::to_string(I) + "^"; in annotateReferencesInFoo()
1085 AnnotatedCode += Code.substr(NextCodeChar); in annotateReferencesInFoo()
1091 return AllRefs{std::move(AnnotatedCode), std::move(DumpedReferences)}; in annotateReferencesInFoo()
1817 EXPECT_EQ(ExpectedCode, Actual.AnnotatedCode); in TEST_F()
H A DPrintASTTests.cpp26 const char *AnnotatedCode; member
34 Annotations Test(Pair.AnnotatedCode); in TEST_P()
/dports/devel/wasi-compiler-rt13/llvm-project-13.0.1.src/clang-tools-extra/clangd/unittests/
H A DFindTargetTests.cpp1003 std::string AnnotatedCode; member
1048 std::string AnnotatedCode; in annotateReferencesInFoo() local
1065 AnnotatedCode += Code.substr(NextCodeChar, Offset - NextCodeChar); in annotateReferencesInFoo()
1066 AnnotatedCode += "$" + std::to_string(I) + "^"; in annotateReferencesInFoo()
1071 AnnotatedCode += Code.substr(NextCodeChar); in annotateReferencesInFoo()
1077 return AllRefs{std::move(AnnotatedCode), std::move(DumpedReferences)}; in annotateReferencesInFoo()
1803 EXPECT_EQ(ExpectedCode, Actual.AnnotatedCode); in TEST_F()
H A DPrintASTTests.cpp26 const char *AnnotatedCode; member
34 Annotations Test(Pair.AnnotatedCode); in TEST_P()
/dports/lang/rust/rustc-1.58.1-src/src/llvm-project/clang-tools-extra/clangd/unittests/
H A DFindTargetTests.cpp1003 std::string AnnotatedCode; member
1048 std::string AnnotatedCode; in annotateReferencesInFoo() local
1065 AnnotatedCode += Code.substr(NextCodeChar, Offset - NextCodeChar); in annotateReferencesInFoo()
1066 AnnotatedCode += "$" + std::to_string(I) + "^"; in annotateReferencesInFoo()
1071 AnnotatedCode += Code.substr(NextCodeChar); in annotateReferencesInFoo()
1077 return AllRefs{std::move(AnnotatedCode), std::move(DumpedReferences)}; in annotateReferencesInFoo()
1803 EXPECT_EQ(ExpectedCode, Actual.AnnotatedCode); in TEST_F()
H A DPrintASTTests.cpp26 const char *AnnotatedCode; member
34 Annotations Test(Pair.AnnotatedCode); in TEST_P()
/dports/devel/wasi-compiler-rt12/llvm-project-12.0.1.src/clang-tools-extra/clangd/unittests/
H A DFindTargetTests.cpp971 std::string AnnotatedCode; member
1013 std::string AnnotatedCode; in annotateReferencesInFoo() local
1030 AnnotatedCode += Code.substr(NextCodeChar, Offset - NextCodeChar); in annotateReferencesInFoo()
1031 AnnotatedCode += "$" + std::to_string(I) + "^"; in annotateReferencesInFoo()
1036 AnnotatedCode += Code.substr(NextCodeChar); in annotateReferencesInFoo()
1042 return AllRefs{std::move(AnnotatedCode), std::move(DumpedReferences)}; in annotateReferencesInFoo()
1694 EXPECT_EQ(ExpectedCode, Actual.AnnotatedCode); in TEST_F()
H A DPrintASTTests.cpp26 const char *AnnotatedCode; member
34 Annotations Test(Pair.AnnotatedCode); in TEST_P()
/dports/devel/llvm13/llvm-project-13.0.1.src/clang-tools-extra/clangd/unittests/
H A DFindTargetTests.cpp1003 std::string AnnotatedCode; member
1048 std::string AnnotatedCode; in annotateReferencesInFoo() local
1065 AnnotatedCode += Code.substr(NextCodeChar, Offset - NextCodeChar); in annotateReferencesInFoo()
1066 AnnotatedCode += "$" + std::to_string(I) + "^"; in annotateReferencesInFoo()
1071 AnnotatedCode += Code.substr(NextCodeChar); in annotateReferencesInFoo()
1077 return AllRefs{std::move(AnnotatedCode), std::move(DumpedReferences)}; in annotateReferencesInFoo()
1803 EXPECT_EQ(ExpectedCode, Actual.AnnotatedCode); in TEST_F()
/dports/devel/llvm90/llvm-9.0.1.src/tools/clang/tools/extra/clangd/unittests/
H A DPrintASTTests.cpp27 const char *AnnotatedCode; member
35 Annotations Test(Pair.AnnotatedCode); in TEST_P()

1234