Lines Matching refs:FnDecl

12273     FunctionDecl *FnDecl = Best->Function;  in CreateOverloadedUnaryOp()  local
12275 if (FnDecl) { in CreateOverloadedUnaryOp()
12281 if (CXXMethodDecl *Method = dyn_cast<CXXMethodDecl>(FnDecl)) { in CreateOverloadedUnaryOp()
12295 FnDecl->getParamDecl(0)), in CreateOverloadedUnaryOp()
12304 ExprResult FnExpr = CreateFunctionRefExpr(*this, FnDecl, Best->FoundDecl, in CreateOverloadedUnaryOp()
12311 QualType ResultTy = FnDecl->getReturnType(); in CreateOverloadedUnaryOp()
12320 if (CheckCallReturnType(FnDecl->getReturnType(), OpLoc, TheCall, FnDecl)) in CreateOverloadedUnaryOp()
12323 if (CheckFunctionCall(FnDecl, TheCall, in CreateOverloadedUnaryOp()
12324 FnDecl->getType()->castAs<FunctionProtoType>())) in CreateOverloadedUnaryOp()
12487 FunctionDecl *FnDecl = Best->Function; in CreateOverloadedBinOp() local
12489 if (FnDecl) { in CreateOverloadedBinOp()
12495 if (CXXMethodDecl *Method = dyn_cast<CXXMethodDecl>(FnDecl)) { in CreateOverloadedBinOp()
12502 FnDecl->getParamDecl(0)), in CreateOverloadedBinOp()
12518 FnDecl->getParamDecl(0)), in CreateOverloadedBinOp()
12526 FnDecl->getParamDecl(1)), in CreateOverloadedBinOp()
12535 ExprResult FnExpr = CreateFunctionRefExpr(*this, FnDecl, in CreateOverloadedBinOp()
12542 QualType ResultTy = FnDecl->getReturnType(); in CreateOverloadedBinOp()
12550 if (CheckCallReturnType(FnDecl->getReturnType(), OpLoc, TheCall, in CreateOverloadedBinOp()
12551 FnDecl)) in CreateOverloadedBinOp()
12557 if (isa<CXXMethodDecl>(FnDecl)) { in CreateOverloadedBinOp()
12566 checkCall(FnDecl, nullptr, ImplicitThis, ArgsArray, in CreateOverloadedBinOp()
12567 isa<CXXMethodDecl>(FnDecl), OpLoc, TheCall->getSourceRange(), in CreateOverloadedBinOp()
12723 FunctionDecl *FnDecl = Best->Function; in CreateOverloadedArraySubscriptExpr() local
12725 if (FnDecl) { in CreateOverloadedArraySubscriptExpr()
12732 CXXMethodDecl *Method = cast<CXXMethodDecl>(FnDecl); in CreateOverloadedArraySubscriptExpr()
12744 FnDecl->getParamDecl(0)), in CreateOverloadedArraySubscriptExpr()
12755 ExprResult FnExpr = CreateFunctionRefExpr(*this, FnDecl, in CreateOverloadedArraySubscriptExpr()
12765 QualType ResultTy = FnDecl->getReturnType(); in CreateOverloadedArraySubscriptExpr()
12773 if (CheckCallReturnType(FnDecl->getReturnType(), LLoc, TheCall, FnDecl)) in CreateOverloadedArraySubscriptExpr()