[clang] [libc][nfc] Steps to allow sharing code between gpu intrin.h headers (PR #131134)

Jon Chesterfield via cfe-commits cfe-commits at lists.llvm.org
Thu Mar 13 06:04:06 PDT 2025


================
@@ -263,8 +256,4 @@ _DEFAULT_FN_ATTRS static __inline__ void __gpu_thread_suspend(void) {
 _Pragma("omp end declare variant");
 _Pragma("omp end declare target");
 
-#if !defined(__cplusplus)
-_Pragma("pop_macro(\"bool\")");
----------------
JonChesterfield wrote:

Up into gpuintrin.h

https://github.com/llvm/llvm-project/pull/131134


More information about the cfe-commits mailing list