aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.cpp
diff options
context:
space:
mode:
authorAkira Hatanaka <ahatanaka@apple.com>2016-02-10 06:06:06 +0000
committerAkira Hatanaka <ahatanaka@apple.com>2016-02-10 06:06:06 +0000
commitdfe2156f1b6e7a0374a52e9ed8838d452d14438c (patch)
tree8be243e62c9b25f5a455471c8a15dbb05adf97cb /lldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.cpp
parent08499a0110c4a8a168920e4291cbb994858cd3b3 (diff)
downloadllvm-dfe2156f1b6e7a0374a52e9ed8838d452d14438c.zip
llvm-dfe2156f1b6e7a0374a52e9ed8838d452d14438c.tar.gz
llvm-dfe2156f1b6e7a0374a52e9ed8838d452d14438c.tar.bz2
[Sema] Issue a warning for integer overflow in nested struct initializer
r257357 fixed clang to warn on integer overflow in struct initializers. However, it didn't warn when a struct had a nested initializer. This commit makes changes in Sema::CheckForIntOverflow to handle nested initializers. For example: struct s { struct t { unsigned x; } t; } s = { { .x = 4 * 1024 * 1024 * 1024 } }; rdar://problem/23526454 llvm-svn: 260360
Diffstat (limited to 'lldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.cpp')
0 files changed, 0 insertions, 0 deletions