[clang] [HLSL] Make it possible to assign an array from a cbuffer (PR #134174)
Sarah Spall via cfe-commits
cfe-commits at lists.llvm.org
Fri Apr 18 17:07:05 PDT 2025
================
@@ -2268,17 +2268,15 @@ static bool IsStandardConversion(Sema &S, Expr* From, QualType ToType,
// handling here.
if (ToType->isArrayParameterType()) {
FromType = S.Context.getArrayParameterType(FromType);
- SCS.First = ICK_HLSL_Array_RValue;
} else if (FromType->isArrayParameterType()) {
const ArrayParameterType *APT = cast<ArrayParameterType>(FromType);
----------------
spall wrote:
This looks like its just an NFC change to code I didn't touch, so I think I'll leave it as is.
https://github.com/llvm/llvm-project/pull/134174
More information about the cfe-commits
mailing list