Lines Matching full:vardecl
235 forStmt(hasLoopInit(declStmt(hasSingleDecl(varDecl()))))
242 forStmt(hasLoopInit(declStmt(hasSingleDecl(varDecl(
258 forStmt(hasLoopInit(declStmt(hasSingleDecl(varDecl(
277 forStmt(hasLoopInit(declStmt(hasSingleDecl(varDecl(
369 hasUnaryOperand(declRefExpr(to(varDecl(hasType(isInteger())))))))
379 varDecl(hasType(isInteger())).bind("incrementVariable"))))))
404 hasLHS(declRefExpr(to(varDecl(hasType(isInteger()))))),
442 to(varDecl(hasType(isInteger())))))),
481 hasSingleDecl(varDecl(hasInitializer(integerLiteral(equals(0))))
486 to(varDecl(hasType(isInteger())).bind("incVarName")))))),
490 to(varDecl(hasType(isInteger())).bind("condVarName"))))),
503 const VarDecl *IncVar = Result.Nodes.getNodeAs<VarDecl>("incVarName");
504 const VarDecl *CondVar = Result.Nodes.getNodeAs<VarDecl>("condVarName");
505 const VarDecl *InitVar = Result.Nodes.getNodeAs<VarDecl>("initVarName");
512 Clang associates a ``VarDecl`` with each variable to represent the variable's
515 ``VarDecl``) is ``NULL`` and compare the canonical Decls.