[clang] Fixing the logic issue in TransformTypos::TransformDesignatedInitExpr… (PR #127211)

Younan Zhang via cfe-commits cfe-commits at lists.llvm.org
Fri Feb 14 06:29:44 PST 2025


================
@@ -13697,6 +13698,7 @@ TreeTransform<Derived>::TransformDesignatedInitExpr(DesignatedInitExpr *E) {
     ArrayExprs.push_back(End.get());
   }
 
+  // Compare the transformed initializer against the original.
----------------
zyn0217 wrote:

I think the code is self-explanatory enough so the comment is unnecessary 

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


More information about the cfe-commits mailing list