Searched refs:isAtPosition (Results 1 – 3 of 3) sorted by relevance
/external/llvm-project/clang/unittests/ASTMatchers/ |
D | ASTMatchersNarrowingTest.cpp | 3295 EXPECT_TRUE(matches("void x(int a, int b) {}", parmVarDecl(isAtPosition(1)))); in TEST_P() 3296 EXPECT_TRUE(matches("void x(int a, int b) {}", parmVarDecl(isAtPosition(0)))); in TEST_P() 3297 EXPECT_TRUE(matches("void x(int a, int b) {}", parmVarDecl(isAtPosition(1)))); in TEST_P() 3298 EXPECT_TRUE(notMatches("void x(int val) {}", parmVarDecl(isAtPosition(1)))); in TEST_P() 3302 EXPECT_TRUE(matches("void x(int a);", parmVarDecl(isAtPosition(0)))); in TEST_P() 3303 EXPECT_TRUE(matches("void x(int a, int b);", parmVarDecl(isAtPosition(0)))); in TEST_P() 3304 EXPECT_TRUE(matches("void x(int a, int b);", parmVarDecl(isAtPosition(1)))); in TEST_P() 3305 EXPECT_TRUE(notMatches("void x(int val);", parmVarDecl(isAtPosition(1)))); in TEST_P() 3314 matches("void x() { [](int a) {}; }", parmVarDecl(isAtPosition(0)))); in TEST_P() 3316 parmVarDecl(isAtPosition(0)))); in TEST_P() [all …]
|
/external/llvm-project/clang/lib/ASTMatchers/Dynamic/ |
D | Registry.cpp | 367 REGISTER_MATCHER(isAtPosition); in RegistryMaps()
|
/external/llvm-project/clang/include/clang/ASTMatchers/ |
D | ASTMatchers.h | 4577 AST_MATCHER_P(ParmVarDecl, isAtPosition, unsigned, N) { in AST_MATCHER_P() argument
|