================
@@ -0,0 +1,25 @@
+// RUN: %clang_cc1 -x cuda -verify -Werror %s
+// RUN: %clang_cc1 -x hip -verify -Werror %s
----------------
Artem-B wrote:

Consider passing `-Wcuda-compat` explicitly on the `RUN:` lines (matching the 
removed `warn-cuda-compat.cu`), so this continues to guard the warning group 
even if any diagnostic in it is default-off. Adding `-fcuda-is-device` runs 
would also cover device-side compilation.

https://github.com/llvm/llvm-project/pull/244791
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to