[PATCH] D23279: clang-reorder-fields

Alexander Shaposhnikov via cfe-commits cfe-commits at lists.llvm.org
Fri Aug 26 10:41:52 PDT 2016


alexshap added inline comments.

================
Comment at: clang-reorder-fields/ReorderFieldsAction.cpp:165
@@ +164,3 @@
+    return;
+  assert(InitListEx->getNumInits() == NewFieldsOrder.size() &&
+         "Currently only full initialization is supported");
----------------
djasper wrote:
> Same here, an assert is insufficient.
here and above - you are right - i had FIXMEs in the previous versions regarding error-handling.
I am aware of these issues, but wanted to postpone fixing them.
Anyway - i agree with you - will update this diff today.


Repository:
  rL LLVM

https://reviews.llvm.org/D23279





More information about the cfe-commits mailing list