Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/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.cpp71 varDecl(hasType(hasCanonicalType(referenceType()))).bind(MatchRef)))), in getWidenedLoopState()
H A DExprEngine.cpp1326 const VarDecl *varDecl = Dtor.getVarDecl(); in ProcessAutomaticObjDtor() local
1327 QualType varType = varDecl->getType(); in ProcessAutomaticObjDtor()
1332 SVal dest = state->getLValue(varDecl, LCtx); in ProcessAutomaticObjDtor()
1364 PostImplicitCall PP(DtorDecl, varDecl->getLocation(), LCtx, &PT); in ProcessAutomaticObjDtor()
1381 PreImplicitCall PP(DtorDecl, varDecl->getLocation(), LCtx, &PT); in ProcessAutomaticObjDtor()
H A DRegionStore.cpp1078 to(varDecl(hasStaticStorageDuration()).bind(DeclBind))))); in VisitCluster()
/openbsd-src/gnu/llvm/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.cpp323 varDecl(hasType(SuspiciousScalarTypeM), in checkASTCodeBody()
/openbsd-src/gnu/llvm/clang/docs/
H A DLibASTMatchersTutorial.rst236 forStmt(hasLoopInit(declStmt(hasSingleDecl(varDecl()))))
243 forStmt(hasLoopInit(declStmt(hasSingleDecl(varDecl(
259 forStmt(hasLoopInit(declStmt(hasSingleDecl(varDecl(
278 forStmt(hasLoopInit(declStmt(hasSingleDecl(varDecl(
376 hasUnaryOperand(declRefExpr(to(varDecl(hasType(isInteger())))))))
386 varDecl(hasType(isInteger())).bind("incrementVariable"))))))
411 hasLHS(declRefExpr(to(varDecl(hasType(isInteger()))))),
449 to(varDecl(hasType(isInteger())))))),
488 hasSingleDecl(varDecl(hasInitializer(integerLiteral(equals(0))))
493 to(varDecl(hasType(isInteger())).bind("incVarName")))))),
[all …]
/openbsd-src/gnu/llvm/clang/lib/Analysis/
H A DExprMutationAnalyzer.cpp456 const auto DeclStmtToNonRefToArray = declStmt(hasSingleDecl(varDecl(hasType( in findRangeLoopMutation()
461 varDecl(anyOf(hasType(nonConstReferenceType()), in findRangeLoopMutation()
487 hasSingleDecl(varDecl(hasType(hasUnqualifiedDesugaredType(referenceType( in findRangeLoopMutation()
505 hasLoopVariable(varDecl(hasType(nonConstReferenceType())) in findRangeLoopMutation()
531 varDecl( in findReferenceMutation()
H A DUnsafeBufferUsage.cpp530 to(varDecl())).bind("any_dre"), in findGadgets()
/openbsd-src/gnu/llvm/clang/lib/ASTMatchers/Dynamic/
H A DRegistry.cpp592 REGISTER_MATCHER(varDecl); in RegistryMaps()
/openbsd-src/gnu/llvm/clang/lib/ASTMatchers/
H A DASTMatchersInternal.cpp803 const internal::VariadicDynCastAllOfMatcher<Decl, VarDecl> varDecl; variable
/openbsd-src/gnu/llvm/clang/include/clang/ASTMatchers/
H A DASTMatchers.h1345 extern const internal::VariadicDynCastAllOfMatcher<Decl, VarDecl> varDecl;