[clang] [llvm] [HLSL] Add -HV option translation to clang-dxc.exe (PR #83938)
Xiang Li via cfe-commits
cfe-commits at lists.llvm.org
Wed Mar 6 10:58:00 PST 2024
================
@@ -8545,6 +8545,11 @@ def dxc_entrypoint : Option<["--", "/", "-"], "E", KIND_JOINED_OR_SEPARATE>,
Group<dxc_Group>,
Visibility<[DXCOption]>,
HelpText<"Entry point name">;
+def dxc_hlsl_version : Option<["/", "-"], "HV", KIND_JOINED_OR_SEPARATE>,
+ Group<dxc_Group>,
+ Visibility<[DXCOption]>,
+ HelpText<"HLSL Version">,
+ Values<"2016, 2017, 2018, 2021, 202x">;
----------------
python3kgae wrote:
Does the Values already make sure error be reported when give input not in the Values?
https://github.com/llvm/llvm-project/pull/83938
More information about the cfe-commits
mailing list