[clang] [HLSL] Add NativeInt16Type langopt to control whether short type is supported. Enabled by default for all but HLSL. (PR #165584)

Finn Plummer via cfe-commits cfe-commits at lists.llvm.org
Wed Oct 29 09:24:32 PDT 2025


================

----------------
inbelic wrote:

We should also add a test (similar to [here](https://github.com/llvm/llvm-project/blob/main/clang/test/Driver/dxc_frs.hlsl)) that invokes `clang-dxc` with `-enable-16-bit-types` and `-###` to ensure that the flag is getting expanded as we expect

https://github.com/llvm/llvm-project/pull/165584


More information about the cfe-commits mailing list