davide accepted this revision.
davide added a comment.
This revision is now accepted and ready to land.

LGTM with the comment reworded. Thanks.



================
Comment at: clang/lib/Sema/SemaExprCXX.cpp:1463
+  assert((!ListInitialization || Exprs.size() == 1) &&
+         "Too many expressions for list initialization.");
   SourceRange FullRange = SourceRange(TyBeginLoc, RParenOrBraceLoc);
----------------
I'd rephrase this as "List initialization must have exactly one expression"


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

https://reviews.llvm.org/D138947

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

Reply via email to