================
@@ -163,11 +164,8 @@ class GlobalDecl {
     return GD;
   }
 
-  static KernelReferenceKind getDefaultKernelReference(const FunctionDecl *D) {
-    return (D->hasAttr<DeviceKernelAttr>() || D->getLangOpts().CUDAIsDevice)
-               ? KernelReferenceKind::Kernel
-               : KernelReferenceKind::Stub;
-  }
+  CLANG_ABI static KernelReferenceKind
----------------
yronglin wrote:

Why we need add `CLANG_ABI` here?

https://github.com/llvm/llvm-project/pull/216946
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to