Home
last modified time | relevance | path

Searched refs:PathMatch (Results 1 – 6 of 6) sorted by relevance

/llvm-project-15.0.7/clang-tools-extra/clangd/unittests/
H A DConfigCompileTests.cpp62 Frag.If.PathMatch.emplace_back("fo*"); in TEST_F()
72 Frag.If.PathMatch.emplace_back("fo*"); in TEST_F()
78 Frag.If.PathMatch.emplace_back("fo*"); in TEST_F()
79 Frag.If.PathMatch.emplace_back("ba*r"); in TEST_F()
85 Frag.If.PathMatch.emplace_back("b.*"); in TEST_F()
92 Frag.If.PathMatch.emplace_back("**]@theu"); in TEST_F()
100 Frag.If.PathMatch.emplace_back("ba*r"); in TEST_F()
106 Frag.If.PathMatch.emplace_back("B.*R"); in TEST_F()
231 Frag.If.PathMatch.emplace_back(Case.PathSpec); in TEST_F()
H A DConfigYAMLTests.cpp79 EXPECT_THAT(Results[0].If.PathMatch, ElementsAre(val("abc"))); in TEST()
104 EXPECT_EQ(toRange(Results.front().If.PathMatch.front().Range, in TEST()
H A DClangdTests.cpp343 F.If.PathMatch.emplace_back(".*foo.cc"); in TEST()
/llvm-project-15.0.7/clang-tools-extra/clangd/
H A DConfigCompile.cpp213 auto PathMatch = std::make_unique<std::vector<llvm::Regex>>(); in compile() local
214 for (auto &Entry : F.PathMatch) { in compile()
216 PathMatch->push_back(std::move(*RE)); in compile()
218 if (!PathMatch->empty()) { in compile()
220 [PathMatch(std::move(PathMatch)), in compile()
228 return llvm::any_of(*PathMatch, [&](const llvm::Regex &RE) { in compile()
H A DConfigFragment.h114 std::vector<Located<std::string>> PathMatch; member
H A DConfigYAML.cpp84 F.PathMatch = std::move(*Values); in parse()