Home
last modified time | relevance | path

Searched refs:hasDeclaration (Results 1 – 11 of 11) sorted by relevance

/freebsd-14-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
HDNumberObjectConversionChecker.cpp201 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()
HDOSObjectCStyleCast.cpp77 return hasType(pointerType(pointee(hasDeclaration(DeclM)))); in hasTypePointingTo()
/freebsd-14-stable/contrib/llvm-project/clang/lib/Analysis/
HDExprMutationAnalyzer.cpp373 callee(memberExpr(hasDeclaration(NonConstMethod), in findDirectMutation()
406 const auto NotInstantiated = unless(hasDeclaration(isInstantiated())); in findDirectMutation()
560 pointee(hasDeclaration(cxxRecordDecl(HasAnyNonConstIterator))))))))); in findRangeLoopMutation()
622 const auto IsInstantiated = hasDeclaration(isInstantiated()); in findFunctionArgMutation()
623 const auto FuncDecl = hasDeclaration(functionDecl().bind("func")); in findFunctionArgMutation()
HDUnsafeBufferUsage.cpp754 auto HasTwoParamSpanCtorDecl = hasDeclaration( in matcher()
975 hasDeclaration(cxxConstructorDecl(hasAttr(attr::UnsafeBufferUsage))); in matcher()
/freebsd-14-stable/contrib/llvm-project/clang/lib/Analysis/FlowSensitive/Models/
HDUncheckedOptionalAccessModel.cpp97 recordType(hasDeclaration(cxxRecordDecl(optionalClass())))); in desugarsToOptionalType()
102 recordType(hasDeclaration(cxxRecordDecl(optionalOrDerivedClass())))); in desugarsToOptionalOrDerivedType()
218 hasDeclaration(cxxConstructorDecl(parameterCountIs(1), in isOptionalNulloptConstructor()
230 unless(hasDeclaration( in isOptionalValueOrConversionConstructor()
240 unless(hasDeclaration(cxxMethodDecl( in isOptionalValueOrConversionAssignment()
/freebsd-14-stable/contrib/llvm-project/clang/lib/Tooling/Transformer/
HDSourceCodeBuilders.cpp68 recordType(hasDeclaration(cxxRecordDecl(hasAnyName( in isKnownPointerLikeType()
/freebsd-14-stable/contrib/llvm-project/clang/include/clang/ASTMatchers/
HDASTMatchers.h3653 hasDeclaration(const internal::Matcher<Decl> &InnerMatcher) { in hasDeclaration() function
3964 return callExpr(hasDeclaration(InnerMatcher))
4040 return qualType(hasDeclaration(InnerMatcher)).matches(QT, Finder, Builder);
4123 return pointsTo(qualType(hasDeclaration(InnerMatcher)))
4184 return references(qualType(hasDeclaration(InnerMatcher)))
5097 if (expr(anyOf(cxxConstructExpr(hasDeclaration(cxxConstructorDecl( in AST_POLYMORPHIC_MATCHER_P2()
5198 if (expr(anyOf(cxxConstructExpr(hasDeclaration(cxxConstructorDecl( in AST_POLYMORPHIC_MATCHER_P2()
/freebsd-14-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
HDLoopUnrolling.cpp130 hasUnaryOperand(declRefExpr(hasDeclaration(VarNodeMatcher)))); in getAddrTo()
HDBugReporterVisitors.cpp625 objcIvarRefExpr(hasDeclaration(equalsNode(Ivar))).bind(IvarBind)))); in potentiallyWritesIntoIvar()
/freebsd-14-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/UninitializedObject/
HDUninitializedObjectChecker.cpp536 auto FieldAccessM = memberExpr(hasDeclaration(equalsNode(FD))).bind("access"); in hasUnguardedAccess()
/freebsd-14-stable/contrib/llvm-project/clang/lib/ASTMatchers/Dynamic/
HDRegistry.cpp309 REGISTER_MATCHER(hasDeclaration); in RegistryMaps()