Lines Matching refs:SemaRef
65 SemaRef.MarkFunctionReferenced(LLLLoc, ConfigDecl); in ActOnExecConfigExpr()
67 return SemaRef.BuildCallExpr(S, ConfigDR, LLLLoc, ExecConfig, GGGLoc, nullptr, in ActOnExecConfigExpr()
393 Sema::ContextRAII MethodContext(SemaRef, MemberDecl); in inferTargetForImplicitSpecialMember()
417 SemaRef.LookupSpecialMember(BaseClassDecl, CSM, in inferTargetForImplicitSpecialMember()
461 SemaRef.LookupSpecialMember(FieldRecDecl, CSM, in inferTargetForImplicitSpecialMember()
514 SemaRef.InstantiateFunctionDefinition(Loc, CD->getFirstDecl()); in isEmptyConstructor()
556 SemaRef.InstantiateFunctionDefinition(Loc, DD->getFirstDecl()); in isEmptyDestructor()
708 FunctionDecl *Caller = SemaRef.getCurFunctionDecl(/*AllowLambda=*/true); in RecordImplicitHostDeviceFuncUsedByDevice()
777 !SemaRef.IsOverload(NewD, OldD, in maybeAddHostDeviceAttrs()
788 if (!SemaRef.getSourceManager().isInSystemHeader(Match->getLocation())) { in maybeAddHostDeviceAttrs()
823 SemaRef.getCurFunctionDecl(/*AllowLambda=*/true); in DiagIfDeviceCode()
837 if (SemaRef.IsLastErrorImmediate && in DiagIfDeviceCode()
840 return (SemaRef.getEmissionStatus(CurFunContext) == in DiagIfDeviceCode()
848 return SemaDiagnosticBuilder(DiagKind, Loc, DiagID, CurFunContext, SemaRef); in DiagIfDeviceCode()
855 SemaRef.getCurFunctionDecl(/*AllowLambda=*/true); in DiagIfHostCode()
868 if (SemaRef.IsLastErrorImmediate && in DiagIfHostCode()
871 return (SemaRef.getEmissionStatus(CurFunContext) == in DiagIfHostCode()
879 return SemaDiagnosticBuilder(DiagKind, Loc, DiagID, CurFunContext, SemaRef); in DiagIfHostCode()
886 const auto &ExprEvalCtx = SemaRef.currentEvaluationContext(); in CheckCall()
892 FunctionDecl *Caller = SemaRef.getCurFunctionDecl(/*AllowLambda=*/true); in CheckCall()
898 bool CallerKnownEmitted = SemaRef.getEmissionStatus(Caller) == in CheckCall()
936 SemaRef) in CheckCall()
941 diag::note_previous_decl, Caller, SemaRef) in CheckCall()
967 FunctionDecl *Caller = SemaRef.getCurFunctionDecl(/*AllowLambda=*/true); in CheckLambdaCapture()
984 diag::err_capture_bad_target, Callee, SemaRef) in CheckLambdaCapture()
993 SemaRef); in CheckLambdaCapture()
1021 !SemaRef.IsOverload(NewFD, OldFD, /* UseMemberUsingDeclRules = */ false, in checkTargetOverload()
1065 copyAttrIfPresent<CUDAGlobalAttr>(SemaRef, FD, TemplateFD); in inheritTargetAttrs()
1066 copyAttrIfPresent<CUDAHostAttr>(SemaRef, FD, TemplateFD); in inheritTargetAttrs()
1067 copyAttrIfPresent<CUDADeviceAttr>(SemaRef, FD, TemplateFD); in inheritTargetAttrs()