Home | History | Annotate | Download | only in ASTMatchers

Lines Matching refs:qualType

727                       stmt(hasDescendant(qualType(builtinType())))));
741 qualType(hasDescendant(builtinType()))));
743 qualType(hasDescendant(
750 qualType(asString("int ***"), forEachDescendant(pointerType().bind("x"))),
761 qualType(functionType(), forEach(qualType(isInteger()).bind("x"))),
762 new VerifyIdIsBoundTo<QualType>("x", 2)));
768 varDecl(hasName("i"), hasType(qualType(has(builtinType()))))));
771 varDecl(hasName("i"), hasType(qualType(has(pointerType()))))));
888 qualType(hasDeclaration(enumDecl(hasName("X")))))))));
1428 TEST(QualType, hasCanonicalType) {
1432 varDecl(hasType(qualType(referenceType())))));
1437 varDecl(hasType(qualType(hasCanonicalType(referenceType()))))));
1440 TEST(QualType, hasLocalQualifiers) {
2349 " T local_t(t /* this becomes a null QualType in the AST */);"
2359 // Other QualType matchers should go here.
3659 EXPECT_TRUE(matches("struct S {};", qualType().bind("loc")));
3672 qualType(arrayType(hasElementType(builtinType())))));
3675 qualType(isConstQualified(), arrayType(hasElementType(builtinType())))));
3678 qualType(isConstQualified(), arrayType())));
3682 qualType(isConstQualified(), arrayType(hasElementType(builtinType())))));
3685 qualType(arrayType(hasElementType(isConstQualified(), builtinType())))));
3688 qualType(arrayType(hasElementType(builtinType())),
3693 EXPECT_TRUE(matches("const int a = 0;", qualType(isInteger())));
3802 loc(pointerType(pointee(qualType())))));
3808 loc(qualType(isConstQualified(), pointerType()))));
4050 specifiesTypeLoc(loc(qualType(asString("struct A"))))))));
4291 TEST(EqualsBoundNodeMatcher, QualType) {
4293 "int i = 1;", varDecl(hasType(qualType().bind("type")),
4295 hasType(qualType(equalsBoundNode("type"))))))));
4297 varDecl(hasType(qualType().bind("type")),
4299 qualType(equalsBoundNode("type"))))))));
4306 hasType(qualType(equalsBoundNode("type"))))))));
4359 functionDecl(returns(qualType().bind("type")),
4361 qualType(equalsBoundNode("type")))).bind("decl"))),