[clang] [HLSL] handle hlslAttributedResourceType in init list code (PR #187813)
Deric C. via cfe-commits
cfe-commits at lists.llvm.org
Fri Mar 20 15:48:47 PDT 2026
================
@@ -5663,8 +5537,10 @@ class InitListTransformer {
}
Expr *generateInitListsImpl(QualType Ty) {
+ Ty = Ty.getDesugaredType(Ctx);
----------------
Icohedron wrote:
6 lines below this `Ty = Ty.getDesugaredType(Ctx);` is another `Ty = Ty.getDesugaredType(Ctx);` which is now redundant / a no-op because `Ty` is already desugared.
https://github.com/llvm/llvm-project/pull/187813
More information about the cfe-commits
mailing list