Lines Matching refs:OpLoc

6709                                        SourceLocation OpLoc,  in AddMemberOperatorCandidates()  argument
6731 if (!isCompleteType(OpLoc, T1) && !T1Rec->isBeingDefined()) in AddMemberOperatorCandidates()
6737 LookupResult Operators(*this, OpName, OpLoc, LookupOrdinaryName); in AddMemberOperatorCandidates()
8254 SourceLocation OpLoc, in AddBuiltinOperatorCandidates() argument
8272 OpLoc, in AddBuiltinOperatorCandidates()
9791 SourceLocation OpLoc, in NoteBuiltinOperatorCandidate() argument
9800 S.Diag(OpLoc, diag::note_ovl_builtin_unary_candidate) << TypeStr; in NoteBuiltinOperatorCandidate()
9805 S.Diag(OpLoc, diag::note_ovl_builtin_binary_candidate) << TypeStr; in NoteBuiltinOperatorCandidate()
9809 static void NoteAmbiguousUserConversions(Sema &S, SourceLocation OpLoc, in NoteAmbiguousUserConversions() argument
9818 S, OpLoc, S.PDiag(diag::note_ambiguous_type_conversion)); in NoteAmbiguousUserConversions()
10077 SourceLocation OpLoc) { in NoteCandidates() argument
10095 CompareOverloadCandidatesForDisplay(S, OpLoc, Args.size())); in NoteCandidates()
10128 NoteAmbiguousUserConversions(S, OpLoc, Cand); in NoteCandidates()
10133 NoteBuiltinOperatorCandidate(S, Opc, OpLoc, Cand); in NoteCandidates()
10138 S.Diag(OpLoc, diag::note_ovl_too_many_candidates) << int(E - I); in NoteCandidates()
11172 SourceLocation OpLoc, in DiagnoseTwoPhaseOperatorLookup() argument
11176 LookupResult R(SemaRef, OpName, OpLoc, Sema::LookupOperatorName); in DiagnoseTwoPhaseOperatorLookup()
11177 return DiagnoseTwoPhaseLookup(SemaRef, OpLoc, CXXScopeSpec(), R, in DiagnoseTwoPhaseOperatorLookup()
11499 Sema::CreateOverloadedUnaryOp(SourceLocation OpLoc, UnaryOperatorKind Opc, in CreateOverloadedUnaryOp() argument
11506 DeclarationNameInfo OpNameInfo(OpName, OpLoc); in CreateOverloadedUnaryOp()
11529 VK_RValue, OK_Ordinary, OpLoc); in CreateOverloadedUnaryOp()
11539 VK_RValue, OpLoc, false); in CreateOverloadedUnaryOp()
11543 OverloadCandidateSet CandidateSet(OpLoc, OverloadCandidateSet::CSK_Operator); in CreateOverloadedUnaryOp()
11549 AddMemberOperatorCandidates(Op, OpLoc, ArgsArray, CandidateSet); in CreateOverloadedUnaryOp()
11552 AddArgumentDependentLookupCandidates(OpName, OpLoc, ArgsArray, in CreateOverloadedUnaryOp()
11557 AddBuiltinOperatorCandidates(Op, OpLoc, ArgsArray, CandidateSet); in CreateOverloadedUnaryOp()
11563 switch (CandidateSet.BestViableFunction(*this, OpLoc, Best)) { in CreateOverloadedUnaryOp()
11574 CheckMemberOperatorAccess(OpLoc, Args[0], nullptr, Best->FoundDecl); in CreateOverloadedUnaryOp()
11597 HadMultipleCandidates, OpLoc); in CreateOverloadedUnaryOp()
11609 ResultTy, VK, OpLoc, false); in CreateOverloadedUnaryOp()
11611 if (CheckCallReturnType(FnDecl->getReturnType(), OpLoc, TheCall, FnDecl)) in CreateOverloadedUnaryOp()
11633 if (DiagnoseTwoPhaseOperatorLookup(*this, Op, OpLoc, ArgsArray)) in CreateOverloadedUnaryOp()
11642 Diag(OpLoc, diag::err_ovl_ambiguous_oper_unary) in CreateOverloadedUnaryOp()
11647 UnaryOperator::getOpcodeStr(Opc), OpLoc); in CreateOverloadedUnaryOp()
11651 Diag(OpLoc, diag::err_ovl_deleted_oper) in CreateOverloadedUnaryOp()
11657 UnaryOperator::getOpcodeStr(Opc), OpLoc); in CreateOverloadedUnaryOp()
11664 return CreateBuiltinUnaryOp(OpLoc, Opc, Input); in CreateOverloadedUnaryOp()
11684 Sema::CreateOverloadedBinOp(SourceLocation OpLoc, in CreateOverloadedBinOp() argument
11703 OpLoc, FPFeatures.fp_contract); in CreateOverloadedBinOp()
11707 Context.DependentTy, Context.DependentTy, OpLoc, in CreateOverloadedBinOp()
11714 DeclarationNameInfo OpNameInfo(OpName, OpLoc); in CreateOverloadedBinOp()
11722 VK_RValue, OpLoc, FPFeatures.fp_contract); in CreateOverloadedBinOp()
11742 return CreateBuiltinBinOp(OpLoc, Opc, Args[0], Args[1]); in CreateOverloadedBinOp()
11747 return CreateBuiltinBinOp(OpLoc, Opc, Args[0], Args[1]); in CreateOverloadedBinOp()
11750 OverloadCandidateSet CandidateSet(OpLoc, OverloadCandidateSet::CSK_Operator); in CreateOverloadedBinOp()
11756 AddMemberOperatorCandidates(Op, OpLoc, Args, CandidateSet); in CreateOverloadedBinOp()
11762 AddArgumentDependentLookupCandidates(OpName, OpLoc, Args, in CreateOverloadedBinOp()
11767 AddBuiltinOperatorCandidates(Op, OpLoc, Args, CandidateSet); in CreateOverloadedBinOp()
11773 switch (CandidateSet.BestViableFunction(*this, OpLoc, Best)) { in CreateOverloadedBinOp()
11785 CheckMemberOperatorAccess(OpLoc, Args[0], Args[1], Best->FoundDecl); in CreateOverloadedBinOp()
11825 HadMultipleCandidates, OpLoc); in CreateOverloadedBinOp()
11836 Args, ResultTy, VK, OpLoc, in CreateOverloadedBinOp()
11839 if (CheckCallReturnType(FnDecl->getReturnType(), OpLoc, TheCall, in CreateOverloadedBinOp()
11850 DiagnoseSelfMove(Args[0], Args[1], OpLoc); in CreateOverloadedBinOp()
11852 checkCall(FnDecl, nullptr, ArgsArray, isa<CXXMethodDecl>(FnDecl), OpLoc, in CreateOverloadedBinOp()
11891 Diag(OpLoc, diag::err_ovl_no_viable_oper) in CreateOverloadedBinOp()
11895 Diag(OpLoc, diag::note_assign_lhs_incomplete) in CreateOverloadedBinOp()
11903 if (DiagnoseTwoPhaseOperatorLookup(*this, Op, OpLoc, Args)) in CreateOverloadedBinOp()
11909 Result = CreateBuiltinBinOp(OpLoc, Opc, Args[0], Args[1]); in CreateOverloadedBinOp()
11915 BinaryOperator::getOpcodeStr(Opc), OpLoc); in CreateOverloadedBinOp()
11920 Diag(OpLoc, diag::err_ovl_ambiguous_oper_binary) in CreateOverloadedBinOp()
11925 BinaryOperator::getOpcodeStr(Opc), OpLoc); in CreateOverloadedBinOp()
11931 Diag(OpLoc, diag::err_ovl_deleted_special_oper) in CreateOverloadedBinOp()
11940 Diag(OpLoc, diag::err_ovl_deleted_oper) in CreateOverloadedBinOp()
11947 BinaryOperator::getOpcodeStr(Opc), OpLoc); in CreateOverloadedBinOp()
11952 return CreateBuiltinBinOp(OpLoc, Opc, Args[0], Args[1]); in CreateOverloadedBinOp()
12709 Sema::BuildOverloadedArrowExpr(Scope *S, Expr *Base, SourceLocation OpLoc, in BuildOverloadedArrowExpr() argument
12734 LookupResult R(*this, OpName, OpLoc, LookupOrdinaryName); in BuildOverloadedArrowExpr()
12748 switch (CandidateSet.BestViableFunction(*this, OpLoc, Best)) { in BuildOverloadedArrowExpr()
12762 Diag(OpLoc, diag::err_typecheck_member_reference_arrow) in BuildOverloadedArrowExpr()
12765 Diag(OpLoc, diag::note_typecheck_member_reference_suggestion) in BuildOverloadedArrowExpr()
12766 << FixItHint::CreateReplacement(OpLoc, "."); in BuildOverloadedArrowExpr()
12769 Diag(OpLoc, diag::err_ovl_no_viable_oper) in BuildOverloadedArrowExpr()
12775 Diag(OpLoc, diag::err_ovl_ambiguous_oper_unary) in BuildOverloadedArrowExpr()
12781 Diag(OpLoc, diag::err_ovl_deleted_oper) in BuildOverloadedArrowExpr()
12790 CheckMemberOperatorAccess(OpLoc, Base, nullptr, Best->FoundDecl); in BuildOverloadedArrowExpr()
12803 HadMultipleCandidates, OpLoc); in BuildOverloadedArrowExpr()
12812 Base, ResultTy, VK, OpLoc, false); in BuildOverloadedArrowExpr()
12814 if (CheckCallReturnType(Method->getReturnType(), OpLoc, TheCall, Method)) in BuildOverloadedArrowExpr()