Lines Matching refs:ConditionVar
3775 Sema::ConditionResult Sema::ActOnConditionVariable(Decl *ConditionVar, in ActOnConditionVariable() argument
3779 CheckConditionVariable(cast<VarDecl>(ConditionVar), StmtLoc, CK); in ActOnConditionVariable()
3782 return ConditionResult(*this, ConditionVar, MakeFullExpr(E.get(), StmtLoc), in ActOnConditionVariable()
3788 ExprResult Sema::CheckConditionVariable(VarDecl *ConditionVar, in CheckConditionVariable() argument
3791 if (ConditionVar->isInvalidDecl()) in CheckConditionVariable()
3794 QualType T = ConditionVar->getType(); in CheckConditionVariable()
3799 return ExprError(Diag(ConditionVar->getLocation(), in CheckConditionVariable()
3801 << ConditionVar->getSourceRange()); in CheckConditionVariable()
3803 return ExprError(Diag(ConditionVar->getLocation(), in CheckConditionVariable()
3805 << ConditionVar->getSourceRange()); in CheckConditionVariable()
3808 ConditionVar, ConditionVar->getType().getNonReferenceType(), VK_LValue, in CheckConditionVariable()
3809 ConditionVar->getLocation()); in CheckConditionVariable()