Home | History | Annotate | Download | only in Sema

Lines Matching defs:Variable

3876 //===--- CHECK: Return Address of Stack Variable --------------------------===//
3884 /// of a stack variable.
3910 // We followed through a reference variable. 'stackE' contains the
3912 // at the reference variable. We will later display the "trail" of
3957 /// 'refVars' vector so that we know what the reference variable "trail" was.
3970 /// * pointer arithmetic from an address of a stack variable
3993 // If this is a reference variable, follow through to the expression that
3997 // Add the reference variable to the "trail".
4143 // variable's name. If it's not a reference variable we check if it has
4156 // Reference variable, follow through to the expression that
4159 // Add the reference variable to the "trail".
4183 // retrieve the DeclRefExpr* for the array variable if it indeed
4257 // detect if a value in a variable has not changed. This clearly can
5528 // ArraySubscriptExpr is on the RHS of a variable initialization.
5531 // This is not the right CC for (e.g.) a variable initialization.
5641 /// Have we issued a diagnostic for this variable already?
6090 // variable length array types.
6379 RetainCycleOwner() : Variable(0), Indirect(false) {}
6380 VarDecl *Variable;
6392 /// Consider whether capturing the given variable can possibly lead to
6395 // In ARC, it's captured strongly iff the variable has __strong
6396 // lifetime. In MRR, it's captured strongly if the variable is
6401 owner.Variable = var;
6468 owner.Variable = S.getCurMethodDecl()->getSelfDecl();
6469 if (!owner.Variable)
6488 FindCaptureVisitor(ASTContext &Context, VarDecl *variable)
6490 Variable(variable), Capturer(0) {}
6492 VarDecl *Variable;
6496 if (ref->getDecl() == Variable && !Capturer)
6509 if (block->getBlockDecl()->capturesVariable(Variable))
6522 /// variable.
6524 assert(owner.Variable && owner.Loc.isValid());
6550 if (!block || !block->getBlockDecl()->capturesVariable(owner.Variable))
6553 FindCaptureVisitor visitor(S.Context, owner.Variable);
6561 assert(owner.Variable && owner.Loc.isValid());
6564 << owner.Variable << capturer->getSourceRange();
6597 // Try to find a variable that the receiver is strongly owned by.
6604 owner.Variable = getCurMethodDecl()->getSelfDecl();
6630 // Because we don't have an expression for the variable, we have to set the
7142 // Variable declaration that has type_tag_for_datatype attribute.