[clang] [CIR] Change unreachable to diagnostic for ill-equipped clang (PR #152614)
Arseniy Zaostrovnykh via cfe-commits
cfe-commits at lists.llvm.org
Thu Aug 7 20:02:42 PDT 2025
================
@@ -0,0 +1,12 @@
+// Test that using -emit-cir when clang is not built with CIR support gives a proper error message
+// instead of crashing.
+
+// This test should only run when CIR support is NOT enabled
+// REQUIRES: !cir-support
----------------
necto wrote:
Have you considered
```suggestion
// UNSUPPORTED: cir-support
```
?
https://github.com/llvm/llvm-project/pull/152614
More information about the cfe-commits
mailing list