Home
last modified time | relevance | path

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

/freebsd-13.1/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DLoopUnrolling.cpp89 declRefExpr(to(varDecl(hasType(isInteger())).bind(BindName))) in simpleCondition()
101 declRefExpr(to(varDecl(VarNodeMatcher)))))), in changeIntBoundNode()
104 declRefExpr(to(varDecl(VarNodeMatcher))))))); in changeIntBoundNode()
110 declRefExpr(to(varDecl(VarNodeMatcher))), in callByRef()
116 return declStmt(hasDescendant(varDecl( in assignedToRef()
119 initListExpr(has(declRefExpr(to(varDecl(VarNodeMatcher))))), in assignedToRef()
120 declRefExpr(to(varDecl(VarNodeMatcher))))))))); in assignedToRef()
148 varDecl(allOf(hasInitializer(ignoringParenImpCasts( in forLoopMatcher()
151 binaryOperator(hasLHS(declRefExpr(to(varDecl( in forLoopMatcher()
160 to(varDecl(allOf(equalsBoundNode("initVarName"), in forLoopMatcher()
H A DLoopWidening.cpp72 varDecl(hasType(hasCanonicalType(referenceType()))).bind(MatchRef)))), in getWidenedLoopState()
H A DExprEngine.cpp954 const VarDecl *varDecl = Dtor.getVarDecl(); in ProcessAutomaticObjDtor() local
955 QualType varType = varDecl->getType(); in ProcessAutomaticObjDtor()
958 SVal dest = state->getLValue(varDecl, Pred->getLocationContext()); in ProcessAutomaticObjDtor()
H A DRegionStore.cpp1084 to(varDecl(hasStaticStorageDuration()).bind(DeclBind))))); in VisitCluster()
/freebsd-13.1/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DGCDAntipatternChecker.cpp61 to(varDecl(equalsBoundNode(DeclName)))))); in equalsBoundArgDecl()
66 declRefExpr(to(varDecl().bind(DeclName))))); in bindAssignmentToDecl()
99 varDecl(hasDescendant(SemaphoreCreateM)).bind(SemaphoreBinding)), in findGCDAntiPatternWithSemaphore()
141 varDecl(hasDescendant(DispatchGroupCreateM)).bind(GroupBinding)), in findGCDAntiPatternWithGroup()
H A DPointerIterationChecker.cpp68 auto UnorderedContainerM = declRefExpr(to(varDecl(hasType( in matchUnorderedIterWithPointers()
72 auto PointerTypeM = varDecl(hasType(hasCanonicalType(pointerType()))); in matchUnorderedIterWithPointers()
H A DNumberObjectConversionChecker.cpp324 varDecl(hasType(SuspiciousScalarTypeM), in checkASTCodeBody()
/freebsd-13.1/contrib/llvm-project/clang/lib/Analysis/
H A DExprMutationAnalyzer.cpp446 const auto DeclStmtToNonRefToArray = declStmt(hasSingleDecl(varDecl(hasType( in findRangeLoopMutation()
450 hasLoopVariable(varDecl(hasType(nonConstReferenceType())) in findRangeLoopMutation()
475 hasSingleDecl(varDecl(hasType(hasUnqualifiedDesugaredType(referenceType( in findRangeLoopMutation()
493 hasLoopVariable(varDecl(hasType(nonConstReferenceType())) in findRangeLoopMutation()
519 varDecl( in findReferenceMutation()
/freebsd-13.1/contrib/llvm-project/clang/lib/ASTMatchers/Dynamic/
H A DRegistry.cpp567 REGISTER_MATCHER(varDecl); in RegistryMaps()
/freebsd-13.1/contrib/llvm-project/clang/lib/ASTMatchers/
H A DASTMatchersInternal.cpp788 const internal::VariadicDynCastAllOfMatcher<Decl, VarDecl> varDecl; variable
/freebsd-13.1/contrib/llvm-project/clang/include/clang/ASTMatchers/
H A DASTMatchers.h1340 extern const internal::VariadicDynCastAllOfMatcher<Decl, VarDecl> varDecl;