diff options
author | Matthew Curtis <mcurtis@codeaurora.org> | 2013-10-03 12:14:24 +0000 |
---|---|---|
committer | Matthew Curtis <mcurtis@codeaurora.org> | 2013-10-03 12:14:24 +0000 |
commit | 274a9cc84bcfaec3f3a3ef99a4c55587edbf8645 (patch) | |
tree | 0e7cf30387293bd7faa500989f505d88e6050c73 /llvm/lib/MC/MCDisassembler/Disassembler.cpp | |
parent | 85aeffaf5c20a068dbadcfa22f6c3ae922a0085e (diff) | |
download | llvm-274a9cc84bcfaec3f3a3ef99a4c55587edbf8645.zip llvm-274a9cc84bcfaec3f3a3ef99a4c55587edbf8645.tar.gz llvm-274a9cc84bcfaec3f3a3ef99a4c55587edbf8645.tar.bz2 |
Gracefully (and correctly) handle init of multiple union members
We now emit warnings when doing so and code generation is consistent
with GCC. Note that the C99 spec is unclear as to the precise
behavior.
See also ...
Bug:
http://llvm.org/bugs/show_bug.cgi?id=16644 and
cfe-dev discussion:
http://lists.cs.uiuc.edu/pipermail/cfe-dev/2013-September/031918.html
llvm-svn: 191890
Diffstat (limited to 'llvm/lib/MC/MCDisassembler/Disassembler.cpp')
0 files changed, 0 insertions, 0 deletions