Lines Matching full:variable
218 variable(hasType(isInteger())).bind("intvar")
224 which will capture all ``for`` statements that define a new variable
231 Next, we want to specify that a single variable is declared in the first
238 Finally, we can add the condition that the variable is initialized to
247 loops whose init portion declares a single variable which is initialized
333 condition to ensure that the loop's index variable is compared against
335 increments this same variable. The matcher for (2) is straightforward:
336 require a pre- or post-increment of the same variable declared in the
354 variable declarations. To find a ``unaryOperator`` that refers to a
364 incremented variable is an integer:
372 And the last step will be to attach an identifier to this variable, so
384 that declare a single variable initialized to zero and have an increment
385 step consisting of a unary increment of some variable.
388 ``for`` loop compares a variable against the size of the array. There is
399 variable, and that the right-hand side has integer type.
513 Clang associates a ``VarDecl`` with each variable to represent the variable's