Lines Matching defs:QuestionLoc
6611 SourceLocation QuestionLoc,
6653 Self.IsDerivedFrom(QuestionLoc, FTy, TTy);
6655 Self.IsDerivedFrom(QuestionLoc, TTy, FTy))) {
6701 SourceLocation QuestionLoc) {
6703 OverloadCandidateSet CandidateSet(QuestionLoc,
6705 Self.AddBuiltinOperatorCandidates(OO_Conditional, QuestionLoc, Args,
6709 switch (CandidateSet.BestViableFunction(Self, QuestionLoc, Best)) {
6726 Self.MarkFunctionReferenced(QuestionLoc, Best->Function);
6735 if (Self.DiagnoseConditionalForNull(LHS.get(), RHS.get(), QuestionLoc))
6738 Self.Diag(QuestionLoc, diag::err_typecheck_cond_incompatible_operands)
6744 Self.Diag(QuestionLoc, diag::err_conditional_ambiguous_ovl)
6797 SourceLocation QuestionLoc) {
6815 Diag(QuestionLoc, diag::err_conditional_vector_cond_result_mismatch)
6822 Diag(QuestionLoc, diag::err_conditional_vector_mismatched)
6829 LHS, RHS, QuestionLoc, /*isCompAssign*/ false, /*AllowBothBool*/ true,
6842 : UsualArithmeticConversions(LHS, RHS, QuestionLoc,
6846 Diag(QuestionLoc, diag::err_conditional_vector_operand_type)
6869 Diag(QuestionLoc, diag::err_conditional_vector_size) << CondType
6876 Diag(QuestionLoc, diag::err_conditional_vector_element_size) << CondType
6887 SourceLocation QuestionLoc) {
6909 Diag(QuestionLoc, diag::err_conditional_vector_mismatched)
6916 LHS, RHS, QuestionLoc, /*IsCompAssign*/ false, ACK_Conditional);
6929 UsualArithmeticConversions(LHS, RHS, QuestionLoc, ACK_Conditional);
6932 Diag(QuestionLoc, diag::err_conditional_vector_operand_type)
6952 Diag(QuestionLoc, diag::err_conditional_vector_size)
6959 Diag(QuestionLoc, diag::err_conditional_vector_element_size)
6970 SourceLocation QuestionLoc) {
7046 Diag(QuestionLoc, diag::err_conditional_void_nonvoid)
7054 return CheckVectorConditionalTypes(Cond, LHS, RHS, QuestionLoc);
7057 return CheckSizelessVectorConditionalTypes(Cond, LHS, RHS, QuestionLoc);
7061 Diag(QuestionLoc, diag::err_wasm_table_conditional_expression)
7075 if (TryClassUnification(*this, LHS.get(), RHS.get(), QuestionLoc, HaveL2R, L2RType))
7077 if (TryClassUnification(*this, RHS.get(), LHS.get(), QuestionLoc, HaveR2L, R2LType))
7082 Diag(QuestionLoc, diag::err_conditional_ambiguous)
7123 if (CompareReferenceRelationship(QuestionLoc, LTy, RTy, &RefConv) ==
7131 } else if (CompareReferenceRelationship(QuestionLoc, RTy, LTy, &RefConv) ==
7166 if (FindConditionalOverload(*this, LHS, RHS, QuestionLoc))
7207 return CheckVectorOperands(LHS, RHS, QuestionLoc, /*isCompAssign*/ false,
7218 UsualArithmeticConversions(LHS, RHS, QuestionLoc, ACK_Conditional);
7222 Diag(QuestionLoc,
7246 QualType Composite = FindCompositePointerType(QuestionLoc, LHS, RHS);
7251 Composite = ObjC().FindCompositeObjCPointerType(LHS, RHS, QuestionLoc);
7258 if (DiagnoseConditionalForNull(LHS.get(), RHS.get(), QuestionLoc))
7261 Diag(QuestionLoc, diag::err_typecheck_cond_incompatible_operands)