aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Lex/ModuleMap.cpp
diff options
context:
space:
mode:
authorJoshua Batista <jbatista@microsoft.com>2024-03-28 12:13:48 -0700
committerGitHub <noreply@github.com>2024-03-28 12:13:48 -0700
commit6f10dccbab4630604f8a6073ac4b9fb61bf8fc9e (patch)
tree9b27dac3db66d508941d65c2b90767141fc37437 /clang/lib/Lex/ModuleMap.cpp
parent6e58efac16958ccb99060f4329b48737be7d8d36 (diff)
downloadllvm-6f10dccbab4630604f8a6073ac4b9fb61bf8fc9e.zip
llvm-6f10dccbab4630604f8a6073ac4b9fb61bf8fc9e.tar.gz
llvm-6f10dccbab4630604f8a6073ac4b9fb61bf8fc9e.tar.bz2
[HLSL] Add validation for the -enable-16bit-types option (#85340)
Previously, the clang compiler with the dxc driver would accept the -enable-16bit-types flag without checking to see if the required conditions are met for proper processing of the flag. Specifically, -enable-16bit-types requires a shader model of at least 6.2 and an HLSL version of at least 2021. This PR adds a validation check for these other options having the required values, and emits an error if these constraints are not met. Fixes #57876 --------- Co-authored-by: Damyan Pepper <damyanp@microsoft.com> Co-authored-by: Chris B <cbieneman@microsoft.com>
Diffstat (limited to 'clang/lib/Lex/ModuleMap.cpp')
0 files changed, 0 insertions, 0 deletions