Home
last modified time | relevance | path

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

/external/clang/test/SemaCXX/
Dwarn-unreachable.cpp158 static const bool ConditionVar = 1; variable
160 if (ConditionVar) in test_global_as_conditionVariable()
/external/clang/lib/Sema/
DSemaExprCXX.cpp3064 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()
[all …]
DTreeTransform.h3403 VarDecl *ConditionVar = cast_or_null<VarDecl>( in TransformCondition() local
3406 if (!ConditionVar) in TransformCondition()
3409 return getSema().ActOnConditionVariable(ConditionVar, Loc, Kind); in TransformCondition()
/external/clang/include/clang/Sema/
DSema.h8972 Decl *ConditionVar; variable
8979 ConditionResult(Sema &S, Decl *ConditionVar, FullExprArg Condition, in ConditionResult() argument
8981 : ConditionVar(ConditionVar), Condition(Condition), Invalid(false), in ConditionResult()
8987 : ConditionVar(nullptr), Condition(nullptr), Invalid(Invalid), in ConditionResult()
8994 return std::make_pair(cast_or_null<VarDecl>(ConditionVar), in get()
9014 ConditionResult ActOnConditionVariable(Decl *ConditionVar,
9020 ExprResult CheckConditionVariable(VarDecl *ConditionVar,