[clang] [OpenMP] Basic BumpAllocator for (AMD)GPUs (PR #69806)

Joseph Huber via cfe-commits cfe-commits at lists.llvm.org
Fri Oct 20 19:39:17 PDT 2023


================
@@ -15,9 +15,19 @@
 #endif
 
 #ifdef __cplusplus
+#include <cstddef>
----------------
jhuber6 wrote:

I'm unsure if there's ever a reason to include the C++ wrappers in a freestanding environment. Without C++, these go straight to the `clang` resource directly. With the C++ versions they go through the system which hopefully ends up at the resource directory intact.

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


More information about the cfe-commits mailing list