Lines Matching refs:ConditionVar
3064 Sema::ConditionResult Sema::ActOnConditionVariable(Decl *ConditionVar, in ActOnConditionVariable() argument
3068 CheckConditionVariable(cast<VarDecl>(ConditionVar), StmtLoc, CK); in ActOnConditionVariable()
3071 return ConditionResult(*this, ConditionVar, MakeFullExpr(E.get(), StmtLoc), in ActOnConditionVariable()
3077 ExprResult Sema::CheckConditionVariable(VarDecl *ConditionVar, in CheckConditionVariable() argument
3080 if (ConditionVar->isInvalidDecl()) in CheckConditionVariable()
3083 QualType T = ConditionVar->getType(); in CheckConditionVariable()
3088 return ExprError(Diag(ConditionVar->getLocation(), in CheckConditionVariable()
3090 << ConditionVar->getSourceRange()); in CheckConditionVariable()
3092 return ExprError(Diag(ConditionVar->getLocation(), in CheckConditionVariable()
3094 << ConditionVar->getSourceRange()); in CheckConditionVariable()
3097 Context, NestedNameSpecifierLoc(), SourceLocation(), ConditionVar, in CheckConditionVariable()
3098 /*enclosing*/ false, ConditionVar->getLocation(), in CheckConditionVariable()
3099 ConditionVar->getType().getNonReferenceType(), VK_LValue); in CheckConditionVariable()