Searched refs:varDecl (Results 1 – 13 of 13) sorted by relevance
| /openbsd-src/gnu/llvm/clang/lib/StaticAnalyzer/Core/ |
| H A D | LoopUnrolling.cpp | 92 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 D | LoopWidening.cpp | 71 varDecl(hasType(hasCanonicalType(referenceType()))).bind(MatchRef)))), in getWidenedLoopState()
|
| H A D | ExprEngine.cpp | 1326 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 D | RegionStore.cpp | 1078 to(varDecl(hasStaticStorageDuration()).bind(DeclBind))))); in VisitCluster()
|
| /openbsd-src/gnu/llvm/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | GCDAntipatternChecker.cpp | 61 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 D | PointerIterationChecker.cpp | 68 auto UnorderedContainerM = declRefExpr(to(varDecl(hasType( in matchUnorderedIterWithPointers() 72 auto PointerTypeM = varDecl(hasType(hasCanonicalType(pointerType()))); in matchUnorderedIterWithPointers()
|
| H A D | NumberObjectConversionChecker.cpp | 323 varDecl(hasType(SuspiciousScalarTypeM), in checkASTCodeBody()
|
| /openbsd-src/gnu/llvm/clang/docs/ |
| H A D | LibASTMatchersTutorial.rst | 236 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 D | ExprMutationAnalyzer.cpp | 456 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 D | UnsafeBufferUsage.cpp | 530 to(varDecl())).bind("any_dre"), in findGadgets()
|
| /openbsd-src/gnu/llvm/clang/lib/ASTMatchers/Dynamic/ |
| H A D | Registry.cpp | 592 REGISTER_MATCHER(varDecl); in RegistryMaps()
|
| /openbsd-src/gnu/llvm/clang/lib/ASTMatchers/ |
| H A D | ASTMatchersInternal.cpp | 803 const internal::VariadicDynCastAllOfMatcher<Decl, VarDecl> varDecl; variable
|
| /openbsd-src/gnu/llvm/clang/include/clang/ASTMatchers/ |
| H A D | ASTMatchers.h | 1345 extern const internal::VariadicDynCastAllOfMatcher<Decl, VarDecl> varDecl;
|