[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 14:04:46 PDT 2025


================
@@ -0,0 +1,8 @@
+// RUN: not %clang_dxc -enable-16bit-types -T lib_6_7 foo.hlsl -### %s 2>&1 | FileCheck %s
----------------
inbelic wrote:

```suggestion
// RUN: not %clang_dxc -enable-16bit-types -T lib_6_7 %s -### %s 2>&1 | FileCheck %s
```

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


More information about the cfe-commits mailing list