================
@@ -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
----------------
chandlerc wrote:
All of the out-of-line APIs in this file have `CLANG_ABI` on them. My
understanding is that because this method is called from some of the inline
functions in this header, it needs to be exported if Clang is built into a
shared library.
https://github.com/llvm/llvm-project/pull/216946
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits