Home
last modified time | relevance | path

Searched refs:ConditionKind (Results 1 – 8 of 8) sorted by relevance

/openbsd/gnu/llvm/clang/lib/Parse/
H A DParseStmt.cpp1279 Sema::ConditionKind CK, in ParseParenExprOrCondition()
1496 IsConstexpr ? Sema::ConditionKind::ConstexprIf in ParseIfStatement()
1497 : Sema::ConditionKind::Boolean, in ParseIfStatement()
1693 Sema::ConditionKind::Switch, LParen, RParen)) in ParseSwitchStatement()
1783 Sema::ConditionKind::Boolean, LParen, RParen)) in ParseWhileStatement()
2142 nullptr, ForLoc, Sema::ConditionKind::Boolean, in ParseForStatement()
2171 Sema::ConditionKind::Boolean, /*MissingOK=*/true); in ParseForStatement()
H A DParseExprCXX.cpp2022 Sema::ConditionKind CK, bool MissingOK, in ParseCXXCondition()
2055 << (CK == Sema::ConditionKind::Switch); in ParseCXXCondition()
2073 << (CK == Sema::ConditionKind::Switch) in ParseCXXCondition()
/openbsd/gnu/llvm/clang/lib/Sema/
H A DSemaExprCXX.cpp3979 ConditionKind CK) { in ActOnConditionVariable()
3985 CK == ConditionKind::ConstexprIf); in ActOnConditionVariable()
3992 ConditionKind CK) { in CheckConditionVariable()
4014 case ConditionKind::Boolean: in CheckConditionVariable()
4017 case ConditionKind::ConstexprIf: in CheckConditionVariable()
4020 case ConditionKind::Switch: in CheckConditionVariable()
H A DTreeTransform.h463 Sema::ConditionKind Kind);
4189 SourceLocation Loc, VarDecl *Var, Expr *Expr, Sema::ConditionKind Kind) { in TransformCondition()
7590 S->isConstexpr() ? Sema::ConditionKind::ConstexprIf in TransformIfStmt()
7591 : Sema::ConditionKind::Boolean); in TransformIfStmt()
7642 Sema::ConditionKind::Switch); in TransformSwitchStmt()
7669 Sema::ConditionKind::Boolean); in TransformWhileStmt()
7729 Sema::ConditionKind::Boolean); in TransformForStmt()
H A DSemaExpr.cpp20401 Expr *SubExpr, ConditionKind CK, in ActOnCondition()
20410 case ConditionKind::Boolean: in ActOnCondition()
20414 case ConditionKind::ConstexprIf: in ActOnCondition()
20418 case ConditionKind::Switch: in ActOnCondition()
20434 CK == ConditionKind::ConstexprIf); in ActOnCondition()
H A DSemaDeclCXX.cpp8349 Sema::ConditionKind::Boolean), in buildIfNotCondReturnFalse()
8423 Sema::ConditionKind::Boolean), in visitSubobjectArray()
8489 nullptr, Loc, Comp.get(), Sema::ConditionKind::Boolean); in visitExpandedSubobject()
14408 S.ActOnCondition(nullptr, Loc, Comparison, Sema::ConditionKind::Boolean), in buildSingleCopyAssignRecursively()
/openbsd/gnu/llvm/clang/include/clang/Parse/
H A DParser.h2011 Sema::ConditionKind CK,
2110 SourceLocation Loc, Sema::ConditionKind CK,
/openbsd/gnu/llvm/clang/include/clang/Sema/
H A DSema.h12822 enum class ConditionKind { enum
12827 QualType PreferredConditionType(ConditionKind K) const { in PreferredConditionType()
12828 return K == ConditionKind::Switch ? Context.IntTy : Context.BoolTy; in PreferredConditionType()
12832 ConditionKind CK, bool MissingOK = false);
12836 ConditionKind CK);
12842 ConditionKind CK);