[PATCH] D54010: [CodeGen] Fix a crash when updating a zeroinitialize designated initializer
Erik Pilkington via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Nov 1 22:59:03 PDT 2018
erik.pilkington updated this revision to Diff 172306.
erik.pilkington marked an inline comment as done.
erik.pilkington added a comment.
Use `getAggregateElement`. Thanks!
https://reviews.llvm.org/D54010
Files:
clang/lib/CodeGen/CGExprConstant.cpp
clang/test/CodeGen/designated-initializers.c
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D54010.172306.patch
Type: text/x-patch
Size: 3981 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20181102/57345ffb/attachment-0001.bin>
More information about the cfe-commits
mailing list