Lines Matching refs:varDecl

30                      hasArgument(0, declRefExpr(to(varDecl())))))));  in TEST()
33 hasArgument(0, declRefExpr(to(varDecl()))), in TEST()
38 hasArgument(0, declRefExpr(to(varDecl()))), in TEST()
44 hasArgument(0, declRefExpr(to(varDecl()))), in TEST()
323 cxxCatchStmt(anyOf(hasDescendant(varDecl()), isCatchAll())))); in TEST()
486 varDecl(hasName("z_float"), in TEST()
490 varDecl(hasName("z_float"), in TEST()
494 varDecl(hasName("z_char"), in TEST()
511 varDecl(hasName("z_float"), in TEST()
515 varDecl(hasName("z_float"), in TEST()
519 varDecl(hasName("z_char"), in TEST()
659 auto M = varDecl(hasName("X"), hasLocalStorage()); in TEST()
664 M = varDecl(hasName("X"), hasGlobalStorage()); in TEST()
674 EXPECT_TRUE(matches(T, varDecl(hasName("x"), hasAutomaticStorageDuration()))); in TEST()
676 notMatches(T, varDecl(hasName("y"), hasAutomaticStorageDuration()))); in TEST()
678 notMatches(T, varDecl(hasName("a"), hasAutomaticStorageDuration()))); in TEST()
680 EXPECT_TRUE(matches(T, varDecl(hasName("y"), hasStaticStorageDuration()))); in TEST()
681 EXPECT_TRUE(matches(T, varDecl(hasName("a"), hasStaticStorageDuration()))); in TEST()
682 EXPECT_TRUE(notMatches(T, varDecl(hasName("x"), hasStaticStorageDuration()))); in TEST()
688 EXPECT_TRUE(notMatches(T, varDecl(hasName("x"), hasThreadStorageDuration()))); in TEST()
689 EXPECT_TRUE(notMatches(T, varDecl(hasName("y"), hasThreadStorageDuration()))); in TEST()
690 EXPECT_TRUE(notMatches(T, varDecl(hasName("a"), hasThreadStorageDuration()))); in TEST()
696 varDecl(hasName("i")))); in TEST()
712 EXPECT_TRUE(matches("int i = 0;", varDecl(hasType(isInteger())))); in TEST()
716 to(varDecl(hasType(isInteger())))))))); in TEST()
720 EXPECT_TRUE(notMatches("int *i;", varDecl(hasType(isInteger())))); in TEST()
723 to(varDecl(hasType(isInteger())))))))); in TEST()
727 EXPECT_TRUE(matches("int i = 0;", varDecl(hasType(isSignedInteger())))); in TEST()
729 varDecl(hasType(isSignedInteger())))); in TEST()
733 EXPECT_TRUE(notMatches("int i = 0;", varDecl(hasType(isUnsignedInteger())))); in TEST()
735 varDecl(hasType(isUnsignedInteger())))); in TEST()
739 EXPECT_TRUE(matches("int* i = nullptr;", varDecl(hasType(isAnyPointer())))); in TEST()
744 varDecl(hasType(isAnyPointer())))); in TEST()
748 EXPECT_TRUE(notMatches("int i = 0;", varDecl(hasType(isAnyPointer())))); in TEST()
752 EXPECT_TRUE(matches("char i = 0;", varDecl(hasType(isAnyCharacter())))); in TEST()
756 EXPECT_TRUE(notMatches("int i;", varDecl(hasType(isAnyCharacter())))); in TEST()
811 DeclarationMatcher ReferenceClassX = varDecl( in TEST()
829 varDecl(hasType(hasLocalQualifiers())))); in TEST()
831 varDecl(hasType(hasLocalQualifiers())))); in TEST()
833 varDecl(hasType(hasLocalQualifiers())))); in TEST()
835 varDecl(hasType(hasLocalQualifiers())))); in TEST()
877 varDecl(hasName("foo"), isConstexpr()))); in TEST()
1020 hasArgument(0, declRefExpr(to(varDecl(hasName("y")))))); in TEST()
1036 hasArgument(42, declRefExpr(to(varDecl(hasName("y")))))); in TEST()
1251 EXPECT_TRUE(matches(code, varDecl(hasName("i")))); in TEST()
1252 EXPECT_FALSE(matches(code, varDecl(hasName("F()::i")))); in TEST()
1284 varDecl(hasName("a"), isDefinition()); in TEST()
1413 EXPECT_TRUE(notMatches("int i;", varDecl(isPublic(), hasName("i")))); in TEST()
1414 EXPECT_TRUE(notMatches("int i;", varDecl(isProtected(), hasName("i")))); in TEST()
1415 EXPECT_TRUE(notMatches("int i;", varDecl(isPrivate(), hasName("i")))); in TEST()
1489 varDecl(hasType(isVolatileQualified())))); in TEST()
1491 varDecl(hasType(isVolatileQualified())))); in TEST()
1493 varDecl(hasType(isVolatileQualified())))); in TEST()
1498 varDecl(hasType(isConstQualified())))); in TEST()
1503 varDecl(hasType(isConstQualified())))); in TEST()
1508 varDecl(hasType(isConstQualified())))); in TEST()
1510 varDecl(hasType(isConstQualified())))); in TEST()
1515 varDecl(hasType(isConstQualified())))); in TEST()
1517 varDecl(hasType(isConstQualified())))); in TEST()
1659 varDecl(isInstantiated()))); in TEST()
1806 "int i = 1;", varDecl(hasType(qualType().bind("type")), in TEST()
1810 varDecl(hasType(qualType().bind("type")), in TEST()
1817 "int i = 1;", varDecl(namedDecl(hasName("i")).bind("name"), in TEST()
1873 forEachDescendant(varDecl(hasType( in TEST()
1887 hasName("f"), forEachDescendant(varDecl().bind("d")), in TEST()
1901 varDecl(hasType(recordDecl(hasName("StringRef")))).bind("var")))), in TEST()
1904 on(declRefExpr(to(varDecl(equalsBoundNode("var"))))))))))) in TEST()
1917 varDecl(hasType(recordDecl(hasName("StringRef")))).bind("var")))), in TEST()
1920 on(declRefExpr(to(varDecl(equalsBoundNode("var"))))))))))) in TEST()