Home
last modified time | relevance | path

Searched refs:cxxMethodDecl (Results 1 – 7 of 7) sorted by relevance

/freebsd/contrib/llvm-project/clang/lib/Analysis/FlowSensitive/
H A DSmartPointerAccessorCaching.cpp16 using ast_matchers::cxxMethodDecl;
135 callee(cxxMethodDecl(parameterCountIs(0), in isSmartPointerLikeOperatorStar()
143 callee(cxxMethodDecl(parameterCountIs(0), in isSmartPointerLikeOperatorArrow()
151 callee(cxxMethodDecl(parameterCountIs(0), in isPointerLikeOperatorStar()
159 callee(cxxMethodDecl(parameterCountIs(0), in isPointerLikeOperatorArrow()
166 return cxxMemberCallExpr(callee(cxxMethodDecl( in isSmartPointerLikeValueMethodCall()
174 return cxxMemberCallExpr(callee(cxxMethodDecl( in isSmartPointerLikeGetMethodCall()
/freebsd/contrib/llvm-project/clang/lib/Analysis/FlowSensitive/Models/
H A DUncheckedOptionalAccessModel.cpp215 callee(cxxMethodDecl(matcher))); in isOptionalMemberCallWithNameMatcher()
223 callee(cxxMethodDecl(ofClass(optionalClass()))), in isOptionalOperatorCallWithName()
272 callee(cxxMethodDecl(ofClass(optionalOrDerivedClass()))), in isOptionalValueOrConversionAssignment()
273 unless(hasDeclaration(cxxMethodDecl( in isOptionalValueOrConversionAssignment()
281 callee(cxxMethodDecl(ofClass(optionalOrDerivedClass()))), in isOptionalNulloptAssignment()
303 callee(cxxMethodDecl(hasName("empty"))), in isValueOrStringEmptyCall()
306 callee(cxxMethodDecl(hasName("value_or"), in isValueOrStringEmptyCall()
317 callee(cxxMethodDecl(hasName("value_or"), in isValueOrNotEqX()
337 callee(cxxMethodDecl(parameterCountIs(0), isConst()))); in isZeroParamConstMemberCall()
342 callee(cxxMethodDecl(parameterCountIs(0), isConst()))); in isZeroParamConstMemberOperatorCall()
[all …]
/freebsd/contrib/llvm-project/clang/lib/Analysis/
H A DExprMutationAnalyzer.cpp232 hasMethod(cxxMethodDecl(isMoveAssignmentOperator(), unless(isDeleted()))), in __anon2875c4430a02()
235 hasMethod(cxxMethodDecl(isCopyAssignmentOperator(), in __anon2875c4430a02()
396 const auto NonConstMethod = cxxMethodDecl(unless(isConst())); in findDirectMutation()
444 cxxMethodDecl(ofClass(isMoveOnly()), returns(nonConstPointerType()))), in findDirectMutation()
643 callee(cxxMethodDecl(ofClass(isMoveOnly()), in findReferenceMutation()
/freebsd/contrib/llvm-project/clang/lib/ASTMatchers/
H A DGtestMatchers.cpp36 return cxxMethodDecl(hasName("Compare"), in getComparisonDecl()
H A DASTMatchersInternal.cpp826 const internal::VariadicDynCastAllOfMatcher<Decl, CXXMethodDecl> cxxMethodDecl; variable
/freebsd/contrib/llvm-project/clang/lib/ASTMatchers/Dynamic/
H A DRegistry.cpp203 REGISTER_MATCHER(cxxMethodDecl); in RegistryMaps()
/freebsd/contrib/llvm-project/clang/include/clang/ASTMatchers/
H A DASTMatchers.h1335 cxxMethodDecl;
5179 callee(cxxMethodDecl(unless(isExplicitObjectMemberFunction())))) in AST_POLYMORPHIC_MATCHER_P2()