Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DLoopUnrolling.cpp92 declRefExpr(to(varDecl(hasType(isInteger())).bind(BindName))) in simpleCondition()
104 declRefExpr(to(varDecl(VarNodeMatcher)))))), in changeIntBoundNode()
107 declRefExpr(to(varDecl(VarNodeMatcher))))))); in changeIntBoundNode()
113 declRefExpr(to(varDecl(VarNodeMatcher))), in callByRef()
119 return declStmt(hasDescendant(varDecl( in assignedToRef()
122 initListExpr(has(declRefExpr(to(varDecl(VarNodeMatcher))))), in assignedToRef()
123 declRefExpr(to(varDecl(VarNodeMatcher))))))))); in assignedToRef()
151 varDecl(allOf(hasInitializer(ignoringParenImpCasts( in forLoopMatcher()
154 binaryOperator(hasLHS(declRefExpr(to(varDecl( in forLoopMatcher()
163 to(varDecl(allOf(equalsBoundNode("initVarName"), in forLoopMatcher()
H A DLoopWidening.cpp54 varDecl(hasType(hasCanonicalType(referenceType()))).bind(MatchRef)))), in getWidenedLoopState()
H A DExprEngine.cpp1342 const VarDecl *varDecl = Dtor.getVarDecl(); in ProcessAutomaticObjDtor() local
1343 QualType varType = varDecl->getType(); in ProcessAutomaticObjDtor()
1348 SVal dest = state->getLValue(varDecl, LCtx); in ProcessAutomaticObjDtor()
1380 PostImplicitCall PP(DtorDecl, varDecl->getLocation(), LCtx, in ProcessAutomaticObjDtor()
1398 PreImplicitCall PP(DtorDecl, varDecl->getLocation(), LCtx, getCFGElementRef(), in ProcessAutomaticObjDtor()
H A DRegionStore.cpp1242 to(varDecl(hasStaticStorageDuration()).bind(DeclBind))))); in VisitCluster()
/freebsd/contrib/llvm-project/clang/lib/Analysis/
H A DExprMutationAnalyzer.cpp579 const auto DeclStmtToNonRefToArray = declStmt(hasSingleDecl(varDecl(hasType( in findRangeLoopMutation()
584 varDecl(anyOf(hasType(nonConstReferenceType()), in findRangeLoopMutation()
610 hasSingleDecl(varDecl(hasType(hasUnqualifiedDesugaredType(referenceType( in findRangeLoopMutation()
628 hasLoopVariable(varDecl(hasType(nonConstReferenceType())) in findRangeLoopMutation()
654 varDecl(hasType(nonConstReferenceType()), in findReferenceMutation()
762 varDecl(hasType(NonConstPointerOrDependentType), in findPointeeToNonConst()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DNumberObjectConversionChecker.cpp323 varDecl(hasType(SuspiciousScalarTypeM), in checkASTCodeBody()
/freebsd/contrib/llvm-project/clang/lib/ASTMatchers/Dynamic/
H A DRegistry.cpp611 REGISTER_MATCHER(varDecl); in RegistryMaps()
/freebsd/contrib/llvm-project/clang/include/clang/ASTMatchers/
H A DASTMatchers.h1396 extern const internal::VariadicDynCastAllOfMatcher<Decl, VarDecl> varDecl;
6800 varDecl(isTemplateInstantiation()))); in AST_MATCHER_FUNCTION()
6821 varDecl(isTemplateInstantiation()))))); in AST_MATCHER_FUNCTION()
/freebsd/contrib/llvm-project/clang/lib/ASTMatchers/
H A DASTMatchersInternal.cpp833 const internal::VariadicDynCastAllOfMatcher<Decl, VarDecl> varDecl; variable