[clang] [Clang] diagnosing missing Vulkan environment when using SPIR-V triple (PR #190840)
Tony Guillot via cfe-commits
cfe-commits at lists.llvm.org
Tue Apr 14 03:30:50 PDT 2026
================
@@ -0,0 +1,4 @@
+// RUN: not %clang -target spirv %s 2>&1 | FileCheck %s
+// CHECK: error: SPIR-V target requires a Vulkan environment
----------------
to268 wrote:
Yep, `%0` is replaced by the value of the first variable/value on the stream.
https://github.com/llvm/llvm-project/pull/190840
More information about the cfe-commits
mailing list