[clang] [Clang][ARM] Only try to redefine builtins for non-CUDA (PR #128222)

Nick Sarnie via cfe-commits cfe-commits at lists.llvm.org
Fri Feb 21 13:39:13 PST 2025


================
@@ -27,6 +27,8 @@
 extern "C" {
 #endif
 
+#if !defined(__CUDA__)
----------------
sarnex wrote:

Ah sorry, I didn't double-check the suggestion from [here](https://github.com/llvm/llvm-project/pull/121839#issuecomment-2617005659), will fix.

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


More information about the cfe-commits mailing list