[libcxx-commits] [libcxx] [libc++] Protect the libc++ implementation from CUDA SDK's `__noinline__` macro (PR #73838)

Dmitri Gribenko via libcxx-commits libcxx-commits at lists.llvm.org
Wed Nov 29 10:50:36 PST 2023


================
@@ -158,5 +158,8 @@
 #define erase SYSTEM_RESERVED_NAME
 #define refresh SYSTEM_RESERVED_NAME
 
+// Macros from the CUDA SDKs
+#define __noinline__ __attribute__((noinline))
----------------
gribozavr wrote:

Indeed, fixed.

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


More information about the libcxx-commits mailing list