• Home
  • Raw
  • Download

Lines Matching refs:QuestionLoc

6118                                       SourceLocation QuestionLoc) {  in DiagnoseConditionalForNull()  argument
6149 Diag(QuestionLoc, diag::err_typecheck_cond_incompatible_operands_null) in DiagnoseConditionalForNull()
6156 static bool checkCondition(Sema &S, Expr *Cond, SourceLocation QuestionLoc) { in checkCondition() argument
6161 S.Diag(QuestionLoc, diag::err_typecheck_cond_expect_nonfloat) in checkCondition()
6169 S.Diag(QuestionLoc, diag::err_typecheck_cond_expect_scalar) in checkCondition()
6431 SourceLocation QuestionLoc) { in OpenCLArithmeticConversions() argument
6447 S.Diag(QuestionLoc, diag::err_typecheck_cond_expect_int_float) in OpenCLArithmeticConversions()
6453 S.Diag(QuestionLoc, diag::err_typecheck_cond_expect_int_float) in OpenCLArithmeticConversions()
6485 QualType CondTy, SourceLocation QuestionLoc) { in OpenCLConvertScalarsToVectors() argument
6486 QualType ResTy = OpenCLArithmeticConversions(S, LHS, RHS, QuestionLoc); in OpenCLConvertScalarsToVectors()
6505 S.Diag(QuestionLoc, diag::err_conditional_vector_element_size) in OpenCLConvertScalarsToVectors()
6519 SourceLocation QuestionLoc) { in checkOpenCLConditionVector() argument
6527 S.Diag(QuestionLoc, diag::err_typecheck_cond_expect_nonfloat) in checkOpenCLConditionVector()
6539 SourceLocation QuestionLoc) { in checkVectorResult() argument
6545 S.Diag(QuestionLoc, diag::err_conditional_vector_size) in checkVectorResult()
6554 S.Diag(QuestionLoc, diag::err_conditional_vector_element_size) in checkVectorResult()
6568 SourceLocation QuestionLoc) { in OpenCLCheckVectorConditional() argument
6574 if (checkOpenCLConditionVector(S, Cond.get(), QuestionLoc)) in OpenCLCheckVectorConditional()
6581 QualType VecResTy = S.CheckVectorOperands(LHS, RHS, QuestionLoc, in OpenCLCheckVectorConditional()
6588 if (checkVectorResult(S, CondTy, VecResTy, QuestionLoc)) in OpenCLCheckVectorConditional()
6594 return OpenCLConvertScalarsToVectors(S, LHS, RHS, CondTy, QuestionLoc); in OpenCLCheckVectorConditional()
6615 SourceLocation QuestionLoc) { in CheckConditionalOperands() argument
6627 return CXXCheckConditionalOperands(Cond, LHS, RHS, VK, OK, QuestionLoc); in CheckConditionalOperands()
6635 return OpenCLCheckVectorConditional(*this, Cond, LHS, RHS, QuestionLoc); in CheckConditionalOperands()
6641 if (checkCondition(*this, Cond.get(), QuestionLoc)) in CheckConditionalOperands()
6647 return CheckVectorOperands(LHS, RHS, QuestionLoc, /*isCompAssign*/false, in CheckConditionalOperands()
6661 Diag(QuestionLoc, in CheckConditionalOperands()
6707 QuestionLoc); in CheckConditionalOperands()
6717 QuestionLoc); in CheckConditionalOperands()
6722 QuestionLoc); in CheckConditionalOperands()
6726 if (checkPointerIntegerMismatch(*this, LHS, RHS.get(), QuestionLoc, in CheckConditionalOperands()
6729 if (checkPointerIntegerMismatch(*this, RHS, LHS.get(), QuestionLoc, in CheckConditionalOperands()
6736 if (DiagnoseConditionalForNull(LHS.get(), RHS.get(), QuestionLoc)) in CheckConditionalOperands()
6740 Diag(QuestionLoc, diag::err_typecheck_cond_incompatible_operands) in CheckConditionalOperands()
6749 SourceLocation QuestionLoc) { in FindCompositeObjCPointerType() argument
6830 Diag(QuestionLoc, diag::ext_typecheck_cond_incompatible_operands) in FindCompositeObjCPointerType()
6848 Diag(QuestionLoc, diag::err_cond_voidptr_arc) << LHSTy << RHSTy in FindCompositeObjCPointerType()
6868 Diag(QuestionLoc, diag::err_cond_voidptr_arc) << LHSTy << RHSTy in FindCompositeObjCPointerType()
7007 ExprResult Sema::ActOnConditionalOp(SourceLocation QuestionLoc, in ActOnConditionalOp() argument
7076 VK, OK, QuestionLoc); in ActOnConditionalOp()
7081 DiagnoseConditionalPrecedence(*this, QuestionLoc, Cond.get(), LHS.get(), in ActOnConditionalOp()
7084 CheckBoolLikeConversion(Cond.get(), QuestionLoc); in ActOnConditionalOp()
7088 ConditionalOperator(Cond.get(), QuestionLoc, LHS.get(), ColonLoc, in ActOnConditionalOp()
7092 commonExpr, opaqueValue, Cond.get(), LHS.get(), RHS.get(), QuestionLoc, in ActOnConditionalOp()