Lines Matching defs:QuestionLoc

6463                                 SourceLocation QuestionLoc,
6505 Self.IsDerivedFrom(QuestionLoc, FTy, TTy);
6507 Self.IsDerivedFrom(QuestionLoc, TTy, FTy))) {
6553 SourceLocation QuestionLoc) {
6555 OverloadCandidateSet CandidateSet(QuestionLoc,
6557 Self.AddBuiltinOperatorCandidates(OO_Conditional, QuestionLoc, Args,
6561 switch (CandidateSet.BestViableFunction(Self, QuestionLoc, Best)) {
6578 Self.MarkFunctionReferenced(QuestionLoc, Best->Function);
6587 if (Self.DiagnoseConditionalForNull(LHS.get(), RHS.get(), QuestionLoc))
6590 Self.Diag(QuestionLoc, diag::err_typecheck_cond_incompatible_operands)
6596 Self.Diag(QuestionLoc, diag::err_conditional_ambiguous_ovl)
6649 SourceLocation QuestionLoc) {
6667 Diag(QuestionLoc, diag::err_conditional_vector_cond_result_mismatch)
6674 Diag(QuestionLoc, diag::err_conditional_vector_mismatched)
6681 LHS, RHS, QuestionLoc, /*isCompAssign*/ false, /*AllowBothBool*/ true,
6694 : UsualArithmeticConversions(LHS, RHS, QuestionLoc,
6698 Diag(QuestionLoc, diag::err_conditional_vector_operand_type)
6721 Diag(QuestionLoc, diag::err_conditional_vector_size) << CondType
6728 Diag(QuestionLoc, diag::err_conditional_vector_element_size) << CondType
6739 SourceLocation QuestionLoc) {
6761 Diag(QuestionLoc, diag::err_conditional_vector_mismatched)
6768 LHS, RHS, QuestionLoc, /*IsCompAssign*/ false, ACK_Conditional);
6781 UsualArithmeticConversions(LHS, RHS, QuestionLoc, ACK_Conditional);
6784 Diag(QuestionLoc, diag::err_conditional_vector_operand_type)
6804 Diag(QuestionLoc, diag::err_conditional_vector_size)
6811 Diag(QuestionLoc, diag::err_conditional_vector_element_size)
6822 SourceLocation QuestionLoc) {
6898 Diag(QuestionLoc, diag::err_conditional_void_nonvoid)
6906 return CheckVectorConditionalTypes(Cond, LHS, RHS, QuestionLoc);
6909 return CheckSizelessVectorConditionalTypes(Cond, LHS, RHS, QuestionLoc);
6913 Diag(QuestionLoc, diag::err_wasm_table_conditional_expression)
6927 if (TryClassUnification(*this, LHS.get(), RHS.get(), QuestionLoc, HaveL2R, L2RType))
6929 if (TryClassUnification(*this, RHS.get(), LHS.get(), QuestionLoc, HaveR2L, R2LType))
6934 Diag(QuestionLoc, diag::err_conditional_ambiguous)
6975 if (CompareReferenceRelationship(QuestionLoc, LTy, RTy, &RefConv) ==
6983 } else if (CompareReferenceRelationship(QuestionLoc, RTy, LTy, &RefConv) ==
7018 if (FindConditionalOverload(*this, LHS, RHS, QuestionLoc))
7059 return CheckVectorOperands(LHS, RHS, QuestionLoc, /*isCompAssign*/ false,
7070 UsualArithmeticConversions(LHS, RHS, QuestionLoc, ACK_Conditional);
7074 Diag(QuestionLoc,
7098 QualType Composite = FindCompositePointerType(QuestionLoc, LHS, RHS);
7103 Composite = ObjC().FindCompositeObjCPointerType(LHS, RHS, QuestionLoc);
7110 if (DiagnoseConditionalForNull(LHS.get(), RHS.get(), QuestionLoc))
7113 Diag(QuestionLoc, diag::err_typecheck_cond_incompatible_operands)