Home | History | Annotate | Download | only in Sema

Lines Matching refs:QuestionLoc

5815                                       SourceLocation QuestionLoc) {
5846 Diag(QuestionLoc, diag::err_typecheck_cond_incompatible_operands_null)
5853 static bool checkCondition(Sema &S, Expr *Cond, SourceLocation QuestionLoc) {
5858 S.Diag(QuestionLoc, diag::err_typecheck_cond_expect_nonfloat)
5866 S.Diag(QuestionLoc, diag::err_typecheck_cond_expect_scalar)
6071 SourceLocation QuestionLoc) {
6087 S.Diag(QuestionLoc, diag::err_typecheck_cond_expect_int_float)
6093 S.Diag(QuestionLoc, diag::err_typecheck_cond_expect_int_float)
6125 QualType CondTy, SourceLocation QuestionLoc) {
6126 QualType ResTy = OpenCLArithmeticConversions(S, LHS, RHS, QuestionLoc);
6145 S.Diag(QuestionLoc, diag::err_conditional_vector_element_size)
6159 SourceLocation QuestionLoc) {
6167 S.Diag(QuestionLoc, diag::err_typecheck_cond_expect_nonfloat)
6179 SourceLocation QuestionLoc) {
6185 S.Diag(QuestionLoc, diag::err_conditional_vector_size)
6194 S.Diag(QuestionLoc, diag::err_conditional_vector_element_size)
6208 SourceLocation QuestionLoc) {
6214 if (checkOpenCLConditionVector(S, Cond.get(), QuestionLoc))
6221 QualType VecResTy = S.CheckVectorOperands(LHS, RHS, QuestionLoc,
6228 if (checkVectorResult(S, CondTy, VecResTy, QuestionLoc))
6234 return OpenCLConvertScalarsToVectors(S, LHS, RHS, CondTy, QuestionLoc);
6243 SourceLocation QuestionLoc) {
6255 return CXXCheckConditionalOperands(Cond, LHS, RHS, VK, OK, QuestionLoc);
6263 return OpenCLCheckVectorConditional(*this, Cond, LHS, RHS, QuestionLoc);
6269 if (checkCondition(*this, Cond.get(), QuestionLoc))
6275 return CheckVectorOperands(LHS, RHS, QuestionLoc, /*isCompAssign*/false,
6319 QuestionLoc);
6329 QuestionLoc);
6334 QuestionLoc);
6338 if (checkPointerIntegerMismatch(*this, LHS, RHS.get(), QuestionLoc,
6341 if (checkPointerIntegerMismatch(*this, RHS, LHS.get(), QuestionLoc,
6348 if (DiagnoseConditionalForNull(LHS.get(), RHS.get(), QuestionLoc))
6352 Diag(QuestionLoc, diag::err_typecheck_cond_incompatible_operands)
6361 SourceLocation QuestionLoc) {
6442 Diag(QuestionLoc, diag::ext_typecheck_cond_incompatible_operands)
6460 Diag(QuestionLoc, diag::err_cond_voidptr_arc) << LHSTy << RHSTy
6480 Diag(QuestionLoc, diag::err_cond_voidptr_arc) << LHSTy << RHSTy
6619 ExprResult Sema::ActOnConditionalOp(SourceLocation QuestionLoc,
6673 VK, OK, QuestionLoc);
6678 DiagnoseConditionalPrecedence(*this, QuestionLoc, Cond.get(), LHS.get(),
6681 CheckBoolLikeConversion(Cond.get(), QuestionLoc);
6685 ConditionalOperator(Cond.get(), QuestionLoc, LHS.get(), ColonLoc,
6689 commonExpr, opaqueValue, Cond.get(), LHS.get(), RHS.get(), QuestionLoc,