[clang] [HLSL] Bug fix crash using Array Parameters when De-sugaring is the same as canonicalizing (PR #127670)

Sarah Spall via cfe-commits cfe-commits at lists.llvm.org
Tue Feb 18 10:05:15 PST 2025


spall wrote:

> Looks fine to me, but this change doesn't only affect HLSL does it? The function `getArrayParameterType` in `ASTContext.cpp` doesn't look like it is HLSL-specific. I wonder if a similar bug occurs within C/C++.

I believe this function is only called in an HLSL context.

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


More information about the cfe-commits mailing list