Home
last modified time | relevance | path

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

/netbsd-src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Core/
H A DLoopUnrolling.cpp87 to(varDecl(hasType(isInteger())).bind(BindName))))), in simpleCondition()
98 declRefExpr(to(varDecl(VarNodeMatcher)))))), in changeIntBoundNode()
101 declRefExpr(to(varDecl(VarNodeMatcher))))))); in changeIntBoundNode()
107 declRefExpr(to(varDecl(VarNodeMatcher))), in callByRef()
113 return declStmt(hasDescendant(varDecl( in assignedToRef()
116 initListExpr(has(declRefExpr(to(varDecl(VarNodeMatcher))))), in assignedToRef()
117 declRefExpr(to(varDecl(VarNodeMatcher))))))))); in assignedToRef()
145 varDecl(allOf(hasInitializer(ignoringParenImpCasts( in forLoopMatcher()
148 binaryOperator(hasLHS(declRefExpr(to(varDecl( in forLoopMatcher()
157 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()
/netbsd-src/external/apache2/llvm/dist/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()
/netbsd-src/external/apache2/llvm/dist/clang/docs/
H A DLibASTMatchersTutorial.rst233 forStmt(hasLoopInit(declStmt(hasSingleDecl(varDecl()))))
240 forStmt(hasLoopInit(declStmt(hasSingleDecl(varDecl(
256 forStmt(hasLoopInit(declStmt(hasSingleDecl(varDecl(
275 forStmt(hasLoopInit(declStmt(hasSingleDecl(varDecl(
373 hasUnaryOperand(declRefExpr(to(varDecl(hasType(isInteger())))))))
383 varDecl(hasType(isInteger())).bind("incrementVariable"))))))
408 hasLHS(declRefExpr(to(varDecl(hasType(isInteger()))))),
446 to(varDecl(hasType(isInteger())))))),
485 hasSingleDecl(varDecl(hasInitializer(integerLiteral(equals(0))))
490 to(varDecl(hasType(isInteger())).bind("incVarName")))))),
[all …]
/netbsd-src/external/apache2/llvm/dist/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()
/netbsd-src/external/apache2/llvm/dist/clang/lib/ASTMatchers/Dynamic/
H A DRegistry.cpp566 REGISTER_MATCHER(varDecl); in RegistryMaps()
/netbsd-src/external/gpl3/gcc/dist/gcc/d/dmd/
H A Dtypesem.d1717 Dsymbol varDecl = mtype.toDsymbol(sc); in typeSemantic() local
1718 const(Loc) varDeclLoc = varDecl.getLoc(); in typeSemantic()
1719 Module varDeclModule = varDecl.getModule(); //This can be null in typeSemantic()
1729 varDecl.toChars, in typeSemantic()
1734 .errorSupplemental(varDeclLoc, "variable `%s` is declared here", varDecl.toChars); in typeSemantic()
/netbsd-src/external/apache2/llvm/dist/clang/lib/ASTMatchers/
H A DASTMatchersInternal.cpp788 const internal::VariadicDynCastAllOfMatcher<Decl, VarDecl> varDecl; variable
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/ASTMatchers/
H A DASTMatchers.h1340 extern const internal::VariadicDynCastAllOfMatcher<Decl, VarDecl> varDecl;