[PATCH] D54010: [CodeGen] Fix a crash when updating a zeroinitialize designated initializer

John McCall via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Nov 1 21:36:19 PDT 2018


rjmccall added inline comments.


================
Comment at: clang/lib/CodeGen/CGExprConstant.cpp:1142
+      llvm_unreachable("Unexpected Base constant type!");
+    }
 
----------------
Is `getAggregateElement` not good enough here?


Repository:
  rC Clang

https://reviews.llvm.org/D54010





More information about the cfe-commits mailing list