Lines Matching defs:AMatcher

91     const Twine &Code, const T &AMatcher, bool ExpectMatch,
98 Finder.addMatcher(AMatcher, &VerifyFound);
100 if (!Finder.addDynamicMatcher(AMatcher, &VerifyDynamicFound))
149 matchesConditionally(const Twine &Code, const T &AMatcher, bool ExpectMatch,
153 Code, AMatcher, ExpectMatch, getCommandLineArgsForTesting(Lang),
164 matches(const Twine &Code, const T &AMatcher,
166 return matchesConditionally(Code, AMatcher, true, TestLanguages);
171 notMatches(const Twine &Code, const T &AMatcher,
173 return matchesConditionally(Code, AMatcher, false, TestLanguages);
177 testing::AssertionResult matchesObjC(const Twine &Code, const T &AMatcher,
179 return matchesConditionally(Code, AMatcher, ExpectMatch,
186 testing::AssertionResult matchesC(const Twine &Code, const T &AMatcher) {
187 return matchesConditionally(Code, AMatcher, true, {}, FileContentMappings(),
192 testing::AssertionResult notMatchesObjC(const Twine &Code, const T &AMatcher) {
193 return matchesObjC(Code, AMatcher, false);
200 matchesConditionallyWithCuda(const Twine &Code, const T &AMatcher,
225 Finder.addMatcher(AMatcher, &VerifyFound);
227 if (!Finder.addDynamicMatcher(AMatcher, &VerifyDynamicFound))
256 testing::AssertionResult matchesWithCuda(const Twine &Code, const T &AMatcher) {
257 return matchesConditionallyWithCuda(Code, AMatcher, true, "-std=c++11");
262 const T &AMatcher) {
263 return matchesConditionallyWithCuda(Code, AMatcher, false, "-std=c++11");
268 const T &AMatcher) {
269 return matchesConditionally(Code, AMatcher, true, {"-fopenmp=libomp"});
274 const T &AMatcher) {
275 return matchesConditionally(Code, AMatcher, false, {"-fopenmp=libomp"});
280 const T &AMatcher) {
281 return matchesConditionally(Code, AMatcher, true,
287 const T &AMatcher) {
288 return matchesConditionally(Code, AMatcher, false,
294 const Twine &Code, const T &AMatcher,
301 Finder.addMatcher(AMatcher, &VerifyVerifiedResult);
347 matchAndVerifyResultTrue(const Twine &Code, const T &AMatcher,
352 Code, AMatcher, std::move(FindResultVerifier),
358 const Twine &Code, const T &AMatcher,
362 Code, AMatcher, std::move(FindResultVerifier),
440 testing::AssertionResult matches(const Twine &Code, const T &AMatcher) {
443 Code, AMatcher, /*ExpectMatch=*/true, TestConfig.getCommandLineArgs(),
448 testing::AssertionResult notMatches(const Twine &Code, const T &AMatcher) {
451 Code, AMatcher, /*ExpectMatch=*/false, TestConfig.getCommandLineArgs(),