Home
last modified time | relevance | path

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

/freebsd-11-stable/contrib/llvm-project/clang/lib/Analysis/
HDExprMutationAnalyzer.cpp72 unless(anyOf(hasMethod(cxxConstructorDecl(isCopyConstructor(), in __anon7260055a0402()
158 anyOf( in isUnevaluated()
164 hasAncestor(expr(anyOf( in isUnevaluated()
213 unaryOperator(anyOf(hasOperatorName("++"), hasOperatorName("--")), in findDirectMutation()
220 expr(anyOf(cxxMemberCallExpr(callee(NonConstMethod), in findDirectMutation()
225 callExpr(callee(expr(anyOf( in findDirectMutation()
263 const auto AsNonConstRefArg = anyOf( in findDirectMutation()
266 callExpr(callee(expr(anyOf(unresolvedLookupExpr(), unresolvedMemberExpr(), in findDirectMutation()
287 match(findAll(stmt(anyOf(AsAssignmentLhs, AsIncDecOperand, AsNonConstThis, in findDirectMutation()
299 match(findAll(expr(anyOf(memberExpr(hasObjectExpression(equalsNode(Exp))), in findMemberMutation()
[all …]
/freebsd-11-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
HDNumberObjectConversionChecker.cpp202 typedefType(hasDeclaration(anyOf( in checkASTCodeBody()
213 anyOf( in checkASTCodeBody()
229 auto SuspiciousNumberObjectExprM = anyOf( in checkASTCodeBody()
236 expr(anyOf( in checkASTCodeBody()
248 qualType(anyOf(qualType(booleanType()).bind("cpp_bool_type"), in checkASTCodeBody()
261 qualType(anyOf(SuspiciousScalarBooleanTypeM, in checkASTCodeBody()
287 binaryOperator(allOf(anyOf(hasOperatorName("=="), hasOperatorName("!=")), in checkASTCodeBody()
294 binaryOperator(allOf(anyOf(hasOperatorName(">="), hasOperatorName(">"), in checkASTCodeBody()
327 auto FinalM = stmt(anyOf(ConversionThroughAssignmentM, in checkASTCodeBody()
HDObjCAutoreleaseWriteChecker.cpp173 auto CapturedInParamM = stmt(anyOf( in checkASTCodeBody()
181 stmt(anyOf(WritesIntoM, CapturedInParamM)) in checkASTCodeBody()
184 auto BlockPassedToMarkedFuncM = stmt(anyOf( in checkASTCodeBody()
196 auto MatcherM = decl(anyOf( in checkASTCodeBody()
HDGCDAntipatternChecker.cpp99 auto SemaphoreBindingM = anyOf( in findGCDAntiPatternWithSemaphore()
119 stmt(anyOf( in findGCDAntiPatternWithSemaphore()
141 auto GroupBindingM = anyOf( in findGCDAntiPatternWithGroup()
165 stmt(anyOf( in findGCDAntiPatternWithGroup()
HDRunLoopAutoreleaseLeakChecker.cpp144 return anyOf(MainRunLoopRunM, XPCRunM); in getRunLoopRunM()
148 return objcMessageExpr(unless(anyOf(equalsBoundNode(RunLoopBind), in getOtherMessageSentM()
HDPointerSortingChecker.cpp71 auto SortFuncM = anyOf( in matchSortWithPointers()
/freebsd-11-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
HDLoopUnrolling.cpp83 return binaryOperator(anyOf(hasOperatorName("<"), hasOperatorName(">"), in simpleCondition()
95 return anyOf( in changeIntBoundNode()
96 unaryOperator(anyOf(hasOperatorName("--"), hasOperatorName("++")), in changeIntBoundNode()
115 hasInitializer(anyOf( in assignedToRef()
129 anyOf(gotoStmt(), switchStmt(), returnStmt(), in hasSuspiciousStmt()
144 anyOf(declStmt(hasSingleDecl( in forLoopMatcher()
155 anyOf(hasOperatorName("++"), hasOperatorName("--")), in forLoopMatcher()
188 match(stmt(anyOf(callByRef(equalsNode(VD)), getAddrTo(equalsNode(VD)), in isPossiblyEscaped()
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/ASTMatchers/
HDASTMatchers.h2535 anyOf;
2622 allOf(anyOf(ofKind(UETT_AlignOf), ofKind(UETT_PreferredAlignOf)), in alignOfExpr()
2785 const auto M = anyOf(Base, isDerivedFrom(Base));
3576 anyOf(hasType(InnerMatcher), hasType(pointsTo(InnerMatcher))))
3584 anyOf(hasType(InnerMatcher), hasType(pointsTo(InnerMatcher))))
4182 if (expr(anyOf(cxxConstructExpr(hasDeclaration(cxxConstructorDecl( in AST_POLYMORPHIC_MATCHER_P2()
4773 return anyOf(hasLHS(InnerMatcher), hasRHS(InnerMatcher)); in hasEitherOperand()
5461 auto IsInstantiation = decl(anyOf(cxxRecordDecl(isTemplateInstantiation()), in AST_MATCHER_FUNCTION()
5463 return decl(anyOf(IsInstantiation, hasAncestor(IsInstantiation))); in AST_MATCHER_FUNCTION()
5482 hasAncestor(decl(anyOf(cxxRecordDecl(isTemplateInstantiation()), in AST_MATCHER_FUNCTION()
/freebsd-11-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/UninitializedObject/
HDUninitializedObjectChecker.cpp544 anyOf(hasName("exit"), hasName("panic"), hasName("error"), in hasUnguardedAccess()
556 stmt(anyOf(ifStmt(), switchStmt(), conditionalOperator(), AssertLikeM, in hasUnguardedAccess()
/freebsd-11-stable/contrib/llvm-project/clang/lib/ASTMatchers/Dynamic/
HDRegistry.cpp131 REGISTER_MATCHER(anyOf); in RegistryMaps()
/freebsd-11-stable/contrib/llvm-project/clang/lib/ASTMatchers/
HDASTMatchersInternal.cpp826 anyOf = {internal::DynTypedMatcher::VO_AnyOf}; variable