[clang] [CUDA] work around more __noinline__ conflicts with libc++ (PR #74123)
Nikolas Klauser via cfe-commits
cfe-commits at lists.llvm.org
Fri Dec 1 11:36:08 PST 2023
================
@@ -0,0 +1,10 @@
+// CUDA headers define __noinline__ which interferes with libc++'s use of
+// `__attribute((__noinline__))`. In order to avoid compilation error,
+// temporarily unset __noinline__ when we include affected libstdc++ header.
----------------
philnik777 wrote:
```suggestion
// temporarily unset __noinline__ when we include affected libc++ header.
```
https://github.com/llvm/llvm-project/pull/74123
More information about the cfe-commits
mailing list