• Home
  • Raw
  • Download

Lines Matching refs:OpLoc

6663                                        SourceLocation OpLoc,  in AddMemberOperatorCandidates()  argument
6685 if (!isCompleteType(OpLoc, T1) && !T1Rec->isBeingDefined()) in AddMemberOperatorCandidates()
6691 LookupResult Operators(*this, OpName, OpLoc, LookupOrdinaryName); in AddMemberOperatorCandidates()
8206 SourceLocation OpLoc, in AddBuiltinOperatorCandidates() argument
8224 OpLoc, in AddBuiltinOperatorCandidates()
9636 SourceLocation OpLoc, in NoteBuiltinOperatorCandidate() argument
9645 S.Diag(OpLoc, diag::note_ovl_builtin_unary_candidate) << TypeStr; in NoteBuiltinOperatorCandidate()
9650 S.Diag(OpLoc, diag::note_ovl_builtin_binary_candidate) << TypeStr; in NoteBuiltinOperatorCandidate()
9654 static void NoteAmbiguousUserConversions(Sema &S, SourceLocation OpLoc, in NoteAmbiguousUserConversions() argument
9662 ICS.DiagnoseAmbiguousConversion(S, OpLoc, in NoteAmbiguousUserConversions()
9921 SourceLocation OpLoc) { in NoteCandidates() argument
9939 CompareOverloadCandidatesForDisplay(S, OpLoc, Args.size())); in NoteCandidates()
9972 NoteAmbiguousUserConversions(S, OpLoc, Cand); in NoteCandidates()
9977 NoteBuiltinOperatorCandidate(S, Opc, OpLoc, Cand); in NoteCandidates()
9982 S.Diag(OpLoc, diag::note_ovl_too_many_candidates) << int(E - I); in NoteCandidates()
10942 SourceLocation OpLoc, in DiagnoseTwoPhaseOperatorLookup() argument
10946 LookupResult R(SemaRef, OpName, OpLoc, Sema::LookupOperatorName); in DiagnoseTwoPhaseOperatorLookup()
10947 return DiagnoseTwoPhaseLookup(SemaRef, OpLoc, CXXScopeSpec(), R, in DiagnoseTwoPhaseOperatorLookup()
11252 Sema::CreateOverloadedUnaryOp(SourceLocation OpLoc, UnaryOperatorKind Opc, in CreateOverloadedUnaryOp() argument
11259 DeclarationNameInfo OpNameInfo(OpName, OpLoc); in CreateOverloadedUnaryOp()
11282 VK_RValue, OK_Ordinary, OpLoc); in CreateOverloadedUnaryOp()
11292 VK_RValue, OpLoc, false); in CreateOverloadedUnaryOp()
11296 OverloadCandidateSet CandidateSet(OpLoc, OverloadCandidateSet::CSK_Operator); in CreateOverloadedUnaryOp()
11302 AddMemberOperatorCandidates(Op, OpLoc, ArgsArray, CandidateSet); in CreateOverloadedUnaryOp()
11305 AddArgumentDependentLookupCandidates(OpName, OpLoc, ArgsArray, in CreateOverloadedUnaryOp()
11310 AddBuiltinOperatorCandidates(Op, OpLoc, ArgsArray, CandidateSet); in CreateOverloadedUnaryOp()
11316 switch (CandidateSet.BestViableFunction(*this, OpLoc, Best)) { in CreateOverloadedUnaryOp()
11327 CheckMemberOperatorAccess(OpLoc, Args[0], nullptr, Best->FoundDecl); in CreateOverloadedUnaryOp()
11350 HadMultipleCandidates, OpLoc); in CreateOverloadedUnaryOp()
11362 ResultTy, VK, OpLoc, false); in CreateOverloadedUnaryOp()
11364 if (CheckCallReturnType(FnDecl->getReturnType(), OpLoc, TheCall, FnDecl)) in CreateOverloadedUnaryOp()
11386 if (DiagnoseTwoPhaseOperatorLookup(*this, Op, OpLoc, ArgsArray)) in CreateOverloadedUnaryOp()
11395 Diag(OpLoc, diag::err_ovl_ambiguous_oper_unary) in CreateOverloadedUnaryOp()
11400 UnaryOperator::getOpcodeStr(Opc), OpLoc); in CreateOverloadedUnaryOp()
11404 Diag(OpLoc, diag::err_ovl_deleted_oper) in CreateOverloadedUnaryOp()
11410 UnaryOperator::getOpcodeStr(Opc), OpLoc); in CreateOverloadedUnaryOp()
11417 return CreateBuiltinUnaryOp(OpLoc, Opc, Input); in CreateOverloadedUnaryOp()
11437 Sema::CreateOverloadedBinOp(SourceLocation OpLoc, in CreateOverloadedBinOp() argument
11456 OpLoc, FPFeatures.fp_contract); in CreateOverloadedBinOp()
11460 Context.DependentTy, Context.DependentTy, OpLoc, in CreateOverloadedBinOp()
11467 DeclarationNameInfo OpNameInfo(OpName, OpLoc); in CreateOverloadedBinOp()
11475 VK_RValue, OpLoc, FPFeatures.fp_contract); in CreateOverloadedBinOp()
11495 return CreateBuiltinBinOp(OpLoc, Opc, Args[0], Args[1]); in CreateOverloadedBinOp()
11500 return CreateBuiltinBinOp(OpLoc, Opc, Args[0], Args[1]); in CreateOverloadedBinOp()
11503 OverloadCandidateSet CandidateSet(OpLoc, OverloadCandidateSet::CSK_Operator); in CreateOverloadedBinOp()
11509 AddMemberOperatorCandidates(Op, OpLoc, Args, CandidateSet); in CreateOverloadedBinOp()
11515 AddArgumentDependentLookupCandidates(OpName, OpLoc, Args, in CreateOverloadedBinOp()
11520 AddBuiltinOperatorCandidates(Op, OpLoc, Args, CandidateSet); in CreateOverloadedBinOp()
11526 switch (CandidateSet.BestViableFunction(*this, OpLoc, Best)) { in CreateOverloadedBinOp()
11538 CheckMemberOperatorAccess(OpLoc, Args[0], Args[1], Best->FoundDecl); in CreateOverloadedBinOp()
11578 HadMultipleCandidates, OpLoc); in CreateOverloadedBinOp()
11589 Args, ResultTy, VK, OpLoc, in CreateOverloadedBinOp()
11592 if (CheckCallReturnType(FnDecl->getReturnType(), OpLoc, TheCall, in CreateOverloadedBinOp()
11603 DiagnoseSelfMove(Args[0], Args[1], OpLoc); in CreateOverloadedBinOp()
11605 checkCall(FnDecl, nullptr, ArgsArray, isa<CXXMethodDecl>(FnDecl), OpLoc, in CreateOverloadedBinOp()
11644 Diag(OpLoc, diag::err_ovl_no_viable_oper) in CreateOverloadedBinOp()
11648 Diag(OpLoc, diag::note_assign_lhs_incomplete) in CreateOverloadedBinOp()
11656 if (DiagnoseTwoPhaseOperatorLookup(*this, Op, OpLoc, Args)) in CreateOverloadedBinOp()
11662 Result = CreateBuiltinBinOp(OpLoc, Opc, Args[0], Args[1]); in CreateOverloadedBinOp()
11668 BinaryOperator::getOpcodeStr(Opc), OpLoc); in CreateOverloadedBinOp()
11673 Diag(OpLoc, diag::err_ovl_ambiguous_oper_binary) in CreateOverloadedBinOp()
11678 BinaryOperator::getOpcodeStr(Opc), OpLoc); in CreateOverloadedBinOp()
11684 Diag(OpLoc, diag::err_ovl_deleted_special_oper) in CreateOverloadedBinOp()
11693 Diag(OpLoc, diag::err_ovl_deleted_oper) in CreateOverloadedBinOp()
11700 BinaryOperator::getOpcodeStr(Opc), OpLoc); in CreateOverloadedBinOp()
11705 return CreateBuiltinBinOp(OpLoc, Opc, Args[0], Args[1]); in CreateOverloadedBinOp()
12452 Sema::BuildOverloadedArrowExpr(Scope *S, Expr *Base, SourceLocation OpLoc, in BuildOverloadedArrowExpr() argument
12477 LookupResult R(*this, OpName, OpLoc, LookupOrdinaryName); in BuildOverloadedArrowExpr()
12491 switch (CandidateSet.BestViableFunction(*this, OpLoc, Best)) { in BuildOverloadedArrowExpr()
12505 Diag(OpLoc, diag::err_typecheck_member_reference_arrow) in BuildOverloadedArrowExpr()
12508 Diag(OpLoc, diag::note_typecheck_member_reference_suggestion) in BuildOverloadedArrowExpr()
12509 << FixItHint::CreateReplacement(OpLoc, "."); in BuildOverloadedArrowExpr()
12512 Diag(OpLoc, diag::err_ovl_no_viable_oper) in BuildOverloadedArrowExpr()
12518 Diag(OpLoc, diag::err_ovl_ambiguous_oper_unary) in BuildOverloadedArrowExpr()
12524 Diag(OpLoc, diag::err_ovl_deleted_oper) in BuildOverloadedArrowExpr()
12533 CheckMemberOperatorAccess(OpLoc, Base, nullptr, Best->FoundDecl); in BuildOverloadedArrowExpr()
12546 HadMultipleCandidates, OpLoc); in BuildOverloadedArrowExpr()
12555 Base, ResultTy, VK, OpLoc, false); in BuildOverloadedArrowExpr()
12557 if (CheckCallReturnType(Method->getReturnType(), OpLoc, TheCall, Method)) in BuildOverloadedArrowExpr()