[clang] [HLSL] Add validation for the -enable-16bit-types option (PR #85340)
Natalie Chouinard via cfe-commits
cfe-commits at lists.llvm.org
Tue Mar 26 11:01:41 PDT 2024
================
@@ -4284,11 +4284,25 @@ bool CompilerInvocation::ParseLangArgs(LangOptions &Opts, ArgList &Args,
Diags.Report(diag::err_drv_hlsl_bad_shader_unsupported)
<< ShaderModel << T.getOSName() << T.str();
}
+ // validate that if fnative-half-type is given, that
----------------
sudonatalie wrote:
nit: LLVM coding style generally recommends proper capitalization and punctuation (ends with a period) for comments: https://llvm.org/docs/CodingStandards.html#commenting
https://github.com/llvm/llvm-project/pull/85340
More information about the cfe-commits
mailing list