Home
last modified time | relevance | path

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

/external/clang/unittests/ASTMatchers/
DASTMatchersNarrowingTest.cpp1760 qualType(arrayType(hasElementType(builtinType()))))); in TEST()
1763 qualType(isConstQualified(), arrayType(hasElementType(builtinType()))))); in TEST()
1766 qualType(isConstQualified(), arrayType()))); in TEST()
1770 qualType(isConstQualified(), arrayType(hasElementType(builtinType()))))); in TEST()
1773 qualType(arrayType(hasElementType(isConstQualified(), builtinType()))))); in TEST()
1776 qualType(arrayType(hasElementType(builtinType())), in TEST()
1781 EXPECT_TRUE(matches("const int a = 0;", qualType(isInteger()))); in TEST()
1806 "int i = 1;", varDecl(hasType(qualType().bind("type")), in TEST()
1808 hasType(qualType(equalsBoundNode("type")))))))); in TEST()
1810 varDecl(hasType(qualType().bind("type")), in TEST()
[all …]
DASTMatchersTraversalTest.cpp75 stmt(hasDescendant(qualType(builtinType()))))); in TEST()
89 qualType(hasDescendant(builtinType())))); in TEST()
91 qualType(hasDescendant( in TEST()
98 qualType(asString("int ***"), forEachDescendant(pointerType().bind("x"))), in TEST()
110 qualType(functionType(), forEach(qualType(isInteger()).bind("x"))), in TEST()
117 varDecl(hasName("i"), hasType(qualType(has(builtinType())))))); in TEST()
120 varDecl(hasName("i"), hasType(qualType(has(pointerType())))))); in TEST()
221 qualType(hasDeclaration(enumDecl(hasName("X"))))))))); in TEST()
465 varDecl(hasType(qualType(referenceType()))))); in TEST()
470 varDecl(hasType(qualType(hasCanonicalType(referenceType())))))); in TEST()
[all …]
DASTMatchersNodeTest.cpp1093 EXPECT_TRUE(matches("struct S {};", qualType().bind("loc"))); in TEST()
1209 loc(pointerType(pointee(qualType()))))); in TEST()
1215 loc(qualType(isConstQualified(), pointerType())))); in TEST()
1414 specifiesTypeLoc(loc(qualType(asString("struct A")))))))); in TEST()
/external/v8/tools/clang/rewrite_to_chrome_style/
DRewriteToChromeStyle.cpp375 clang::QualType qualType(nestedNameSpecifier->getAsType(), 0); in AST_MATCHER_P() local
376 return InnerMatcher.matches(qualType, Finder, Builder); in AST_MATCHER_P()
812 auto type_with_same_name_as_function = qualType(anyOf( in GetNameForDecl()
824 qualType(anyOf(type_with_same_name_as_function, in GetNameForDecl()
1866 auto blink_qual_type_matcher = qualType(anyOf( in main()
/external/clang/include/clang/ASTMatchers/
DASTMatchers.h1980 const internal::VariadicAllOfMatcher<QualType> qualType; variable
2617 return qualType(hasDeclaration(InnerMatcher))
2670 return pointsTo(qualType(hasDeclaration(InnerMatcher)))
2715 return references(qualType(hasDeclaration(InnerMatcher)))
/external/clang/lib/ASTMatchers/Dynamic/
DRegistry.cpp368 REGISTER_MATCHER(qualType); in RegistryMaps()