Home
last modified time | relevance | path

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

/netbsd-src/external/apache2/llvm/dist/clang/lib/Sema/
H A DSemaStmt.cpp458 QualType CondType = CondExpr->getType(); in ActOnCaseExpr() local
461 if (CondType->isDependentType() || E->isTypeDependent()) in ActOnCaseExpr()
468 return CheckConvertedConstantExpression(E, CondType, TempVal, in ActOnCaseExpr()
478 ER = ImpCastExprToType(ER.get(), CondType, CK_IntegralCast); in ActOnCaseExpr()
1152 QualType CondType = Cond->getType(); in checkEnumTypesInSwitchStmt() local
1155 const EnumType *CondEnumType = CondType->getAs<EnumType>(); in checkEnumTypesInSwitchStmt()
1168 if (S.Context.hasSameUnqualifiedType(CondType, CaseType)) in checkEnumTypesInSwitchStmt()
1172 << CondType << CaseType << Cond->getSourceRange() in checkEnumTypesInSwitchStmt()
1192 QualType CondType = CondExpr->getType(); in ActOnFinishSwitchStmt() local
1209 unsigned CondWidth = HasDependentValue ? 0 : Context.getIntWidth(CondType); in ActOnFinishSwitchStmt()
[all …]
H A DSemaExprCXX.cpp6008 QualType CondType = Cond.get()->getType(); in CheckVectorConditionalTypes() local
6009 const auto *CondVT = CondType->castAs<VectorType>(); in CheckVectorConditionalTypes()
6057 if (CondType->isExtVectorType()) in CheckVectorConditionalTypes()
6069 (!CondType->isExtVectorType() || ResultType->isExtVectorType()) && in CheckVectorConditionalTypes()
6076 Diag(QuestionLoc, diag::err_conditional_vector_size) << CondType in CheckVectorConditionalTypes()
6083 Diag(QuestionLoc, diag::err_conditional_vector_element_size) << CondType in CheckVectorConditionalTypes()
/netbsd-src/external/apache2/llvm/dist/clang/lib/CodeGen/
H A DCGExprScalar.cpp4576 llvm::Type *CondType = ConvertType(condExpr->getType()); in VisitAbstractConditionalOperator() local
4577 auto *VecTy = cast<llvm::VectorType>(CondType); in VisitAbstractConditionalOperator()