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

via libcxx-commits libcxx-commits at lists.llvm.org
Tue Dec 19 09:20:24 PST 2023


================
@@ -46,6 +46,12 @@
 #    endif
 #  endif
 
+#  define _LIBCPP_PUSH_MACROS _Pragma("push_macro(\"min\")") _Pragma("push_macro(\"max\")") _Pragma("push_macro(\"refresh()\")") _Pragma("push_macro(\"move(int, int)\")") _Pragma("push_macro(\"erase()\")") _Pragma("push_macro(\"__noinline__\")")
----------------
EricWF wrote:

Is there an open bug we can reference here? Just to mark the noinline code with? (hopefully to encourage us to remove it).


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


More information about the libcxx-commits mailing list