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 DExprEngine.cpp1341 const VarDecl *varDecl = Dtor.getVarDecl(); in ProcessAutomaticObjDtor() local
1342 QualType varType = varDecl->getType(); in ProcessAutomaticObjDtor()
1347 SVal dest = state->getLValue(varDecl, LCtx); in ProcessAutomaticObjDtor()
1379 PostImplicitCall PP(DtorDecl, varDecl->getLocation(), LCtx, in ProcessAutomaticObjDtor()
1397 PreImplicitCall PP(DtorDecl, varDecl->getLocation(), LCtx, getCFGElementRef(), in ProcessAutomaticObjDtor()
H A DRegionStore.cpp1074 to(varDecl(hasStaticStorageDuration()).bind(DeclBind))))); in VisitCluster()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DPointerIterationChecker.cpp68 auto UnorderedContainerM = declRefExpr(to(varDecl(hasType( in matchUnorderedIterWithPointers()
72 auto PointerTypeM = varDecl(hasType(hasCanonicalType(pointerType()))); in matchUnorderedIterWithPointers()
H A DNumberObjectConversionChecker.cpp323 varDecl(hasType(SuspiciousScalarTypeM), in checkASTCodeBody()
/freebsd/contrib/llvm-project/clang/lib/Analysis/
H A DExprMutationAnalyzer.cpp528 const auto DeclStmtToNonRefToArray = declStmt(hasSingleDecl(varDecl(hasType( in findRangeLoopMutation()
533 varDecl(anyOf(hasType(nonConstReferenceType()), in findRangeLoopMutation()
559 hasSingleDecl(varDecl(hasType(hasUnqualifiedDesugaredType(referenceType( in findRangeLoopMutation()
577 hasLoopVariable(varDecl(hasType(nonConstReferenceType())) in findRangeLoopMutation()
603 varDecl(hasType(nonConstReferenceType()), in findReferenceMutation()
H A DUnsafeBufferUsage.cpp554 static auto toSupportedVariable() { return to(varDecl()); } in toSupportedVariable()
804 varDecl(hasInitializer(ignoringImpCasts( in matcher()
1474 to(anyOf(varDecl(), bindingDecl()))).bind("any_dre"), in findGadgets()
/freebsd/contrib/llvm-project/clang/lib/ASTMatchers/Dynamic/
H A DRegistry.cpp608 REGISTER_MATCHER(varDecl); in RegistryMaps()
/freebsd/contrib/llvm-project/clang/include/clang/ASTMatchers/
H A DASTMatchers.h1357 extern const internal::VariadicDynCastAllOfMatcher<Decl, VarDecl> varDecl;