[llvm-branch-commits] [clang] [HLSL] Introduce vector- and matrix-specific versions of diagnostic warnings (PR #182386)
Deric C. via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Fri Feb 20 10:21:53 PST 2026
Icohedron wrote:
There is a way to add the `-Wconversion`, `-Wvector-conversion`, and `-Wmatrix-conversion` flags by default with `clang -cc1` when compiling for HLSL, such as enabling those warnings in [`FixupInvocation` in `CompilerInvocation.cpp`](https://github.com/llvm/llvm-project/blob/321922938869c873f9e3cb67b43b8c727f0acb5b/clang/lib/Frontend/CompilerInvocation.cpp#L568), but I'm not sure if that's something we really want/need.
https://github.com/llvm/llvm-project/pull/182386
More information about the llvm-branch-commits
mailing list