Home
last modified time | relevance | path

Searched refs:ConditionVar (Results 1 – 3 of 3) sorted by relevance

/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaExprCXX.cpp4022 Sema::ConditionResult Sema::ActOnConditionVariable(Decl *ConditionVar, in ActOnConditionVariable() argument
4026 CheckConditionVariable(cast<VarDecl>(ConditionVar), StmtLoc, CK); in ActOnConditionVariable()
4029 return ConditionResult(*this, ConditionVar, MakeFullExpr(E.get(), StmtLoc), in ActOnConditionVariable()
4033 ExprResult Sema::CheckConditionVariable(VarDecl *ConditionVar, in CheckConditionVariable() argument
4036 if (ConditionVar->isInvalidDecl()) in CheckConditionVariable()
4039 QualType T = ConditionVar->getType(); in CheckConditionVariable()
4044 return ExprError(Diag(ConditionVar->getLocation(), in CheckConditionVariable()
4046 << ConditionVar->getSourceRange()); in CheckConditionVariable()
4048 return ExprError(Diag(ConditionVar->getLocation(), in CheckConditionVariable()
4050 << ConditionVar->getSourceRange()); in CheckConditionVariable()
[all …]
H A DTreeTransform.h4362 VarDecl *ConditionVar = cast_or_null<VarDecl>( in TransformCondition() local
4365 if (!ConditionVar) in TransformCondition()
4368 return getSema().ActOnConditionVariable(ConditionVar, Loc, Kind); in TransformCondition()
/freebsd/contrib/llvm-project/clang/include/clang/Sema/
H A DSema.h7313 Decl *ConditionVar; variable
7319 ConditionResult(Sema &S, Decl *ConditionVar, FullExprArg Condition, in ConditionResult() argument
7321 : ConditionVar(ConditionVar), Condition(Condition), Invalid(false) { in ConditionResult()
7330 : ConditionVar(nullptr), Condition(nullptr), Invalid(Invalid), in ConditionResult()
7337 return std::make_pair(cast_or_null<VarDecl>(ConditionVar), in get()
8297 ConditionResult ActOnConditionVariable(Decl *ConditionVar,
8303 ExprResult CheckConditionVariable(VarDecl *ConditionVar,