Home
last modified time | relevance | path

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

/llvm-project-15.0.7/clang/unittests/ASTMatchers/
H A DASTMatchersNarrowingTest.cpp1661 DeclarationMatcher Function1Arg = functionDecl(parameterCountIs(1)); in TEST_P() local
1662 EXPECT_TRUE(matches("void f(int i) {}", Function1Arg)); in TEST_P()
1663 EXPECT_TRUE(notMatches("void f() {}", Function1Arg)); in TEST_P()
1664 EXPECT_TRUE(notMatches("void f(int i, int j, int k) {}", Function1Arg)); in TEST_P()
1665 EXPECT_TRUE(matches("void f(int i, ...) {};", Function1Arg)); in TEST_P()
1673 DeclarationMatcher Function1Arg = functionDecl(parameterCountIs(1)); in TEST_P() local
1674 EXPECT_TRUE(matches("class X { void f(int i) {} };", Function1Arg)); in TEST_P()