Home
last modified time | relevance | path

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

/freebsd-13.1/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DNumberObjectConversionChecker.cpp202 typedefType(hasDeclaration(anyOf( in checkASTCodeBody()
212 recordType(hasDeclaration( in checkASTCodeBody()
225 qualType(hasDeclaration( in checkASTCodeBody()
243 qualType(typedefType(hasDeclaration( in checkASTCodeBody()
256 unless(typedefType(hasDeclaration( in checkASTCodeBody()
H A DOSObjectCStyleCast.cpp77 return hasType(pointerType(pointee(hasDeclaration(DeclM)))); in hasTypePointingTo()
/freebsd-13.1/contrib/llvm-project/clang/lib/Analysis/
H A DExprMutationAnalyzer.cpp287 callee(memberExpr(hasDeclaration(NonConstMethod), in findDirectMutation()
322 const auto NotInstantiated = unless(hasDeclaration(isInstantiated())); in findDirectMutation()
476 pointee(hasDeclaration(cxxRecordDecl(HasAnyNonConstIterator))))))))); in findRangeLoopMutation()
538 const auto IsInstantiated = hasDeclaration(isInstantiated()); in findFunctionArgMutation()
539 const auto FuncDecl = hasDeclaration(functionDecl().bind("func")); in findFunctionArgMutation()
/freebsd-13.1/contrib/llvm-project/clang/include/clang/ASTMatchers/
H A DASTMatchers.h3561 hasDeclaration(const internal::Matcher<Decl> &InnerMatcher) { in hasDeclaration() function
3840 return callExpr(hasDeclaration(InnerMatcher)).matches(Node, Finder, Builder);
3907 return qualType(hasDeclaration(InnerMatcher)).matches(QT, Finder, Builder);
3991 return pointsTo(qualType(hasDeclaration(InnerMatcher)))
4052 return references(qualType(hasDeclaration(InnerMatcher)))
4723 if (expr(anyOf(cxxConstructExpr(hasDeclaration(cxxConstructorDecl( in AST_POLYMORPHIC_MATCHER_P2()
4823 if (expr(anyOf(cxxConstructExpr(hasDeclaration(cxxConstructorDecl( in AST_POLYMORPHIC_MATCHER_P2()
/freebsd-13.1/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DLoopUnrolling.cpp127 hasUnaryOperand(declRefExpr(hasDeclaration(VarNodeMatcher)))); in getAddrTo()
H A DBugReporterVisitors.cpp467 objcIvarRefExpr(hasDeclaration(equalsNode(Ivar))).bind(IvarBind)))); in potentiallyWritesIntoIvar()
/freebsd-13.1/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/UninitializedObject/
H A DUninitializedObjectChecker.cpp541 auto FieldAccessM = memberExpr(hasDeclaration(equalsNode(FD))).bind("access"); in hasUnguardedAccess()
/freebsd-13.1/contrib/llvm-project/clang/lib/Tooling/Transformer/
H A DStencil.cpp71 const auto SmartPointer = qualType(hasDeclaration( in isSmartPointerType()
/freebsd-13.1/contrib/llvm-project/clang/lib/ASTMatchers/Dynamic/
H A DRegistry.cpp293 REGISTER_MATCHER(hasDeclaration); in RegistryMaps()