Home
last modified time | relevance | path

Searched refs:Snippets (Results 1 – 4 of 4) sorted by relevance

/llvm-project/llvm/unittests/tools/llvm-exegesis/X86/
H A DSnippetFileTest.cpp94 auto Snippets = TestCommon(R"( in TEST_F()
101 EXPECT_FALSE((bool)Snippets.takeError()); in TEST_F()
102 ASSERT_THAT(*Snippets, SizeIs(1)); in TEST_F()
103 const auto &Snippet = (*Snippets)[0]; in TEST_F()
142 auto Snippets = TestCommon(R"( in TEST_F()
145 EXPECT_FALSE((bool)Snippets.takeError()); in TEST_F()
149 auto Snippets = TestCommon(R"( in TEST_F()
156 EXPECT_FALSE((bool)Snippets.takeError()); in TEST_F()
157 ASSERT_THAT(*Snippets, SizeIs(1)); in TEST_F()
158 const auto &Snippet = (*Snippets)[ in TEST_F()
93 auto Snippets = TestCommon(R"( TEST_F() local
141 auto Snippets = TestCommon(R"( TEST_F() local
148 auto Snippets = TestCommon(R"( TEST_F() local
166 auto Snippets = TestCommon(R"( TEST_F() local
213 auto Snippets = TestCommon(R"( TEST_F() local
223 auto Snippets = TestCommon(R"( TEST_F() local
[all...]
/llvm-project/clang-tools-extra/clang-tidy/readability/
H A DIsolateDeclarationCheck.cpp205 std::vector<StringRef> Snippets; in collectSourceRanges() local
206 Snippets.reserve(Ranges.size()); in collectSourceRanges()
223 Snippets.emplace_back(Snippet); in collectSourceRanges()
226 return Snippets; in collectSourceRanges()
231 createIsolatedDecls(llvm::ArrayRef<StringRef> Snippets) { in createIsolatedDecls() argument
233 assert(Snippets.size() > 2 && "Not enough snippets to create isolated decls"); in createIsolatedDecls()
234 std::vector<std::string> Decls(Snippets.size() - 1); in createIsolatedDecls()
236 for (std::size_t I = 1; I < Snippets.size(); ++I) in createIsolatedDecls()
237 Decls[I - 1] = Twine(Snippets[0]) in createIsolatedDecls()
238 .concat(Snippets[0].ends_with(" ") ? "" : " ") in createIsolatedDecls()
[all …]
/llvm-project/llvm/tools/llvm-cov/
H A DSourceCoverageViewHTML.cpp939 SmallVector<std::string, 8> Snippets; in renderLine()
944 Snippets.push_back(std::string(Line.substr(Start, Len))); in renderLine() local
958 for (unsigned I = 0, E = Snippets.size(); I < E; ++I) in renderLine()
959 Snippets[I] = escape(Snippets[I], getOptions()); in renderLine()
983 if (!Snippets[0].empty()) in renderLine()
984 Snippets[0] = Highlight(Snippets[0], 1, 1 + Snippets[0].size()); in renderLine()
997 Snippets[ in renderLine()
[all...]
/llvm-project/clang-tools-extra/clangd/unittests/
H A DCodeCompleteTests.cpp508 TEST(CompletionTest, Snippets) { in TEST()
507 TEST(CompletionTest,Snippets) TEST() argument