Home
last modified time | relevance | path

Searched defs:Snippet (Results 1 – 15 of 15) sorted by relevance

/llvm-project/clang/unittests/Tooling/
H A DStencilTest.cpp99 const std::string Snippet = R"cc( in testError() local
141 const std::string Snippet = R"cc( in TEST_F() local
160 const std::string Snippet = R"cc( in TEST_F() local
177 void testExpr(StringRef Id, StringRef Snippet, const Stencil &Stencil, in testExpr() argument
185 void testFailure(StringRef Id, StringRef Snippet, cons argument
333 std::string Snippet = R"cc( TEST_F() local
342 std::string Snippet = "std::unique_ptr<S> x; x->Field;"; TEST_F() local
377 std::string Snippet = "std::unique_ptr<S> x; x->Field;"; TEST_F() local
391 StringRef Snippet = R"cc( TEST_F() local
400 StringRef Snippet = R"cc( TEST_F() local
409 StringRef Snippet = R"cc( TEST_F() local
418 StringRef Snippet = R"cc( TEST_F() local
427 StringRef Snippet = R"cc( TEST_F() local
436 StringRef Snippet = R"cc( TEST_F() local
445 StringRef Snippet = R"cc( TEST_F() local
454 StringRef Snippet = R"cc( TEST_F() local
471 StringRef Snippet = R"cc( TEST_F() local
493 StringRef Snippet = R"cc( TEST_F() local
509 std::string Snippet = "int *x; x;"; TEST_F() local
519 std::string Snippet = "using Ty = int; Ty *x; x;"; TEST_F() local
529 std::string Snippet = "S s; s;"; TEST_F() local
539 std::string Snippet = "N::C c; c;"; TEST_F() local
549 std::string Snippet = "using N::C; C c; c;"; TEST_F() local
559 std::string Snippet = "auto c = desugar<AnonC>(); c;"; TEST_F() local
578 StringRef Snippet = R"cpp( TEST_F() local
593 StringRef Snippet = R"cpp( TEST_F() local
605 StringRef Snippet = R"cpp( TEST_F() local
620 StringRef Snippet = R"cpp( TEST_F() local
[all...]
H A DSourceCodeBuildersTest.cpp87 static void testPredicate(bool (*Pred)(const Expr &), StringRef Snippet, in testPredicate()
97 static void testPredicateOnArg(bool (*Pred)(const Expr &), StringRef Snippet, in testPredicateOnArg()
148 std::string Snippet = "std::unique_ptr<int> P; P;"; in TEST() local
159 std::string Snippet = "std::shared_ptr<int> P; P;"; in TEST() local
170 std::string Snippet = "Smart P; P;"; in TEST() local
181 std::string Snippet = "int *P; P;"; in TEST() local
193 StringRef Snippet, StringRef Expected) { in testBuilder()
201 static void testBuildAccess(StringRef Snippet, StringRef Expected, in testBuildAccess()
247 StringRef Snippet = R"cc( in TEST() local
377 StringRef Snippet = R"cc( in TEST() local
[all …]
/llvm-project/llvm/unittests/tools/llvm-exegesis/X86/
H A DSnippetFileTest.cpp102 const auto &Snippet = (*Snippets)[0]; TEST_F() local
157 const auto &Snippet = (*Snippets)[0]; TEST_F() local
176 const auto &Snippet = (*Snippets)[0]; TEST_F() local
218 const auto &Snippet = (*Snippets)[0]; TEST_F() local
228 const auto &Snippet = (*Snippets)[0]; TEST_F() local
[all...]
H A DSnippetGeneratorTest.cpp517 std::vector<InstructionTemplate> Snippet; in TEST_F() local
528 std::vector<InstructionTemplate> Snippet; in TEST_F() local
/llvm-project/clang-tools-extra/unittests/clang-tidy/
H A DAddConstTest.cpp55 StringRef Snippet = "int target = 0;"; in TEST() local
221 StringRef Snippet = "int ((target)) = 0;"; in TEST() local
239 StringRef Snippet = "int target[][1] = {{1}, {2}, {3}};"; TEST() local
252 StringRef Snippet = "int ((target))[][1] = {{1}, {2}, {3}};"; TEST() local
265 StringRef Snippet = "int x; int* target[] = {&x, &x, &x};"; TEST() local
278 StringRef Snippet = "int* x = nullptr; int** target[] = {&x, &x, &x};"; TEST() local
291 StringRef Snippet = "int x; int* (target)[] = {&x, &x, &x};"; TEST() local
309 StringRef Snippet = "int x = 42; int& target = x;"; TEST() local
322 StringRef Snippet = "int&& target = 42;"; TEST() local
334 StringRef Snippet = "int* p; int *& target = p;"; TEST() local
346 StringRef Snippet = "int x = 42; int ((& target)) = x;"; TEST() local
360 StringRef Snippet = "int (&target)[4] = a;"; TEST() local
394 StringRef Snippet = "int* target = nullptr;"; TEST() local
407 StringRef Snippet = "int** target = nullptr;"; TEST() local
421 StringRef Snippet = "int (*target)[4] = &a;"; TEST() local
435 StringRef Snippet = "int ((**target)) = nullptr;"; TEST() local
[all...]
H A DDeclRefExprUtilsTest.cpp44 template <int Indirections> void RunTest(StringRef Snippet) { in RunTest()
/llvm-project/clang-tools-extra/clangd/
H A DCodeCompletionStrings.cpp120 std::string *Snippet, in getSignature()
H A DProtocol.h354 Snippet = 15, enumerator
1271 Snippet = 2, global() enumerator
H A DCodeComplete.cpp566 auto *Snippet = onlyValue<&BundledEntry::SnippetSuffix>(); summarizeSnippet() local
[all...]
/llvm-project/clang-tools-extra/clang-tidy/readability/
H A DIsolateDeclarationCheck.cpp217 StringRef Snippet = in collectSourceRanges() local
/llvm-project/clang-tools-extra/clangd/unittests/
H A DCodeCompletionStringsTests.cpp42 std::string Snippet; member in clang::clangd::__anonde4d15820111::CompletionStringTest
/llvm-project/llvm/tools/llvm-exegesis/lib/
H A DBenchmarkRunner.cpp577 auto Snippet = getRunnableConfiguration() local
592 auto Snippet = getRunnableConfiguration() local
/llvm-project/llvm/tools/llvm-cov/
H A DSourceCoverageViewHTML.cpp972 __anon22f11e490402(const std::string &Snippet, unsigned LC, unsigned RC) renderLine() argument
1045 for (const auto &Snippet : Snippets) renderLine() local
/llvm-project/mlir/include/mlir/Tools/lsp-server-support/
H A DProtocol.h784 Snippet = 15, enumerator
830 Snippet = 2, enumerator
/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DBugReporter.cpp1600 StringRef Snippet = Buffer->getBuffer().slice(BeginOffset, EndOffset); getLengthOnSingleLine() local