Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/clang/lib/StaticAnalyzer/Checkers/
H A DNumberObjectConversionChecker.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()
H A DOSObjectCStyleCast.cpp77 return hasType(pointerType(pointee(hasDeclaration(DeclM)))); in hasTypePointingTo()
/openbsd-src/gnu/llvm/clang/lib/Analysis/
H A DExprMutationAnalyzer.cpp297 callee(memberExpr(hasDeclaration(NonConstMethod), in findDirectMutation()
332 const auto NotInstantiated = unless(hasDeclaration(isInstantiated())); in findDirectMutation()
488 pointee(hasDeclaration(cxxRecordDecl(HasAnyNonConstIterator))))))))); in findRangeLoopMutation()
550 const auto IsInstantiated = hasDeclaration(isInstantiated()); in findFunctionArgMutation()
551 const auto FuncDecl = hasDeclaration(functionDecl().bind("func")); in findFunctionArgMutation()
/openbsd-src/gnu/llvm/clang/lib/Analysis/FlowSensitive/Models/
H A DUncheckedOptionalAccessModel.cpp54 recordType(hasDeclaration(optionalClass()))); in optionalOrAliasType()
96 recordType(hasDeclaration(anyOf(nulloptTypeDecl(), optionalClass()))))); in hasAnyOptionalType()
108 hasDeclaration(cxxConstructorDecl(parameterCountIs(1), in isOptionalNulloptConstructor()
120 unless(hasDeclaration( in isOptionalValueOrConversionConstructor()
129 unless(hasDeclaration(cxxMethodDecl( in isOptionalValueOrConversionAssignment()
/openbsd-src/gnu/llvm/clang/lib/Tooling/Transformer/
H A DSourceCodeBuilders.cpp68 recordType(hasDeclaration(cxxRecordDecl(hasAnyName( in isKnownPointerLikeType()
/openbsd-src/gnu/llvm/clang/include/clang/ASTMatchers/
H A DASTMatchers.h3575 hasDeclaration(const internal::Matcher<Decl> &InnerMatcher) { in hasDeclaration() function
3867 return callExpr(hasDeclaration(InnerMatcher))
3943 return qualType(hasDeclaration(InnerMatcher)).matches(QT, Finder, Builder);
4027 return pointsTo(qualType(hasDeclaration(InnerMatcher)))
4088 return references(qualType(hasDeclaration(InnerMatcher)))
4838 if (expr(anyOf(cxxConstructExpr(hasDeclaration(cxxConstructorDecl( in AST_POLYMORPHIC_MATCHER_P2()
4938 if (expr(anyOf(cxxConstructExpr(hasDeclaration(cxxConstructorDecl( in AST_POLYMORPHIC_MATCHER_P2()
/openbsd-src/gnu/llvm/clang/lib/StaticAnalyzer/Core/
H A DLoopUnrolling.cpp130 hasUnaryOperand(declRefExpr(hasDeclaration(VarNodeMatcher)))); in getAddrTo()
H A DBugReporterVisitors.cpp595 objcIvarRefExpr(hasDeclaration(equalsNode(Ivar))).bind(IvarBind)))); in potentiallyWritesIntoIvar()
/openbsd-src/gnu/llvm/clang/lib/StaticAnalyzer/Checkers/UninitializedObject/
H A DUninitializedObjectChecker.cpp539 auto FieldAccessM = memberExpr(hasDeclaration(equalsNode(FD))).bind("access"); in hasUnguardedAccess()
/openbsd-src/gnu/llvm/clang/lib/ASTMatchers/Dynamic/
H A DRegistry.cpp301 REGISTER_MATCHER(hasDeclaration); in RegistryMaps()