Home
last modified time | relevance | path

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

/freebsd-12.1/contrib/llvm/tools/clang/lib/Sema/
H A DSemaStmt.cpp409 QualType CondType = CondExpr->getType(); in ActOnCaseExpr() local
412 if (CondType->isDependentType() || E->isTypeDependent()) in ActOnCaseExpr()
419 return CheckConvertedConstantExpression(E, CondType, TempVal, in ActOnCaseExpr()
429 ER = ImpCastExprToType(ER.get(), CondType, CK_IntegralCast); in ActOnCaseExpr()
800 QualType CondType = Cond->getType(); in checkEnumTypesInSwitchStmt() local
803 const EnumType *CondEnumType = CondType->getAs<EnumType>(); in checkEnumTypesInSwitchStmt()
816 if (S.Context.hasSameUnqualifiedType(CondType, CaseType)) in checkEnumTypesInSwitchStmt()
820 << CondType << CaseType << Cond->getSourceRange() in checkEnumTypesInSwitchStmt()
840 QualType CondType = CondExpr->getType(); in ActOnFinishSwitchStmt() local
857 unsigned CondWidth = HasDependentValue ? 0 : Context.getIntWidth(CondType); in ActOnFinishSwitchStmt()
[all …]