Lines Matching defs:Callee
228 const FunctionDecl *Callee) {
229 assert(Callee && "Callee must be valid.");
236 (isa<CXXConstructorDecl>(Callee) || isa<CXXDestructorDecl>(Callee)))
240 CUDAFunctionTarget CalleeTarget = IdentifyTarget(Callee);
707 const FunctionDecl *Callee) {
712 if (!isImplicitHostDeviceFunction(Callee))
725 getASTContext().CUDAImplicitHostDeviceFunUsedByDevice.insert(Callee);
882 bool SemaCUDA::CheckCall(SourceLocation Loc, FunctionDecl *Callee) {
884 assert(Callee && "Callee may not be null.");
900 SemaDiagnosticBuilder::Kind DiagKind = [this, Caller, Callee,
902 switch (IdentifyPreference(Caller, Callee)) {
920 Callee->hasAttr<CUDAGlobalAttr>() && !Callee->isDefined() &&
924 getASTContext().CUDAExternalDeviceDeclODRUsedByHost.insert(Callee);
937 << llvm::to_underlying(IdentifyTarget(Callee)) << /*function*/ 0 << Callee
939 if (!Callee->getBuiltinID())
940 SemaDiagnosticBuilder(DiagKind, Callee->getLocation(),
942 << Callee;
952 void SemaCUDA::CheckLambdaCapture(CXXMethodDecl *Callee,
975 bool CalleeIsDevice = Callee->hasAttr<CUDADeviceAttr>();
984 diag::err_capture_bad_target, Callee, SemaRef)
992 diag::warn_maybe_capture_bad_target_this_ptr, Callee,