[clang] [Clang] diagnosing missing Vulkan environment when using SPIR-V triple (PR #190840)
Tony Guillot via cfe-commits
cfe-commits at lists.llvm.org
Fri Apr 17 08:51:25 PDT 2026
================
@@ -43,6 +43,9 @@ def note_fe_backend_resource_limit: Note<"%0 (%1) exceeds limit (%2) in '%3'">,
def remark_fe_backend_plugin: Remark<"%0">, BackendInfo, InGroup<RemarkBackendPlugin>;
def note_fe_backend_plugin: Note<"%0">, BackendInfo;
+def err_fe_spirv_requires_vulkan : Error<
+ "SPIR-V target requires a Vulkan environment (e.g. '-target spirv64-unknown-vulkan1.3')">;
----------------
to268 wrote:
Yep, we do not tend to give examples in the diagnostic message.
https://github.com/llvm/llvm-project/pull/190840
More information about the cfe-commits
mailing list