Searched refs:hasDeclaration (Results 1 – 10 of 10) sorted by relevance
201 hasDeclaration(anyOf(typedefDecl(hasName("CFNumberRef")), in checkASTCodeBody()210 recordType(hasDeclaration( in checkASTCodeBody()223 qualType(hasDeclaration( in checkASTCodeBody()242 typedefType(hasDeclaration(typedefDecl(hasName("BOOL"))))))) in checkASTCodeBody()255 unless(elaboratedType(namesType(typedefType(hasDeclaration( in checkASTCodeBody()
77 return hasType(pointerType(pointee(hasDeclaration(DeclM)))); in hasTypePointingTo()
361 callee(memberExpr(hasDeclaration(NonConstMethod), in findDirectMutation()394 const auto NotInstantiated = unless(hasDeclaration(isInstantiated())); in findDirectMutation()546 pointee(hasDeclaration(cxxRecordDecl(HasAnyNonConstIterator))))))))); in findRangeLoopMutation()606 const auto IsInstantiated = hasDeclaration(isInstantiated()); in findFunctionArgMutation()607 const auto FuncDecl = hasDeclaration(functionDecl().bind("func")); in findFunctionArgMutation()
84 recordType(hasDeclaration(optionalClass()))); in optionalOrAliasType()133 hasDeclaration(cxxConstructorDecl(parameterCountIs(1), in isOptionalNulloptConstructor()145 unless(hasDeclaration( in isOptionalValueOrConversionConstructor()154 unless(hasDeclaration(cxxMethodDecl( in isOptionalValueOrConversionAssignment()
68 recordType(hasDeclaration(cxxRecordDecl(hasAnyName( in isKnownPointerLikeType()
3652 hasDeclaration(const internal::Matcher<Decl> &InnerMatcher) { in hasDeclaration() function3963 return callExpr(hasDeclaration(InnerMatcher))4039 return qualType(hasDeclaration(InnerMatcher)).matches(QT, Finder, Builder);4123 return pointsTo(qualType(hasDeclaration(InnerMatcher)))4184 return references(qualType(hasDeclaration(InnerMatcher)))5076 if (expr(anyOf(cxxConstructExpr(hasDeclaration(cxxConstructorDecl( in AST_POLYMORPHIC_MATCHER_P2()5176 if (expr(anyOf(cxxConstructExpr(hasDeclaration(cxxConstructorDecl( in AST_POLYMORPHIC_MATCHER_P2()
130 hasUnaryOperand(declRefExpr(hasDeclaration(VarNodeMatcher)))); in getAddrTo()
621 objcIvarRefExpr(hasDeclaration(equalsNode(Ivar))).bind(IvarBind)))); in potentiallyWritesIntoIvar()
536 auto FieldAccessM = memberExpr(hasDeclaration(equalsNode(FD))).bind("access"); in hasUnguardedAccess()
309 REGISTER_MATCHER(hasDeclaration); in RegistryMaps()