aaron.ballman accepted this revision.
aaron.ballman added a comment.

LGTM aside from a nit, but please give some time for @rjmccall to review as 
well in case he spots something I've missed.



================
Comment at: clang/lib/Sema/TreeTransform.h:3844
+  if (auto *AIL = dyn_cast<ArrayInitLoopExpr>(Init)) {
+    auto *OVE = cast<OpaqueValueExpr>(AIL->getCommonExpr());
+    Init = OVE->getSourceExpr();
----------------
No need for the cast, this function already returns that type.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D108482/new/

https://reviews.llvm.org/D108482

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to