aboutsummaryrefslogtreecommitdiff
path: root/lib/Analysis/MemRegion.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-04-21 17:59:23 +0000
committerChris Lattner <sabre@nondot.org>2009-04-21 17:59:23 +0000
commit88207c9ca218486b93ae7df14e9764cd0c2c3383 (patch)
tree72013a1716f64b78667877c2fd69067b52b85b5b /lib/Analysis/MemRegion.cpp
parent4abbea67fdf0fb1b7b09ee2dfa4359aa29c12517 (diff)
don't bother emitting a zero byte memset at all. We used to get them
in cases like this: typedef struct { short instance; char name[0]; } ATTR_LIST_ENTRY2; void test() { ATTR_LIST_ENTRY2 X = (ATTR_LIST_ENTRY2) { .instance = 7, }; } While it is safe to emit them, it is pretty silly. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@69687 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis/MemRegion.cpp')
0 files changed, 0 insertions, 0 deletions