commit | f40fd6bbb2684db5efb18627ea355613c235d23f | [log] [tgz] |
---|---|---|
author | Eli Friedman <eli.friedman@gmail.com> | Tue Aug 23 22:24:57 2011 +0000 |
committer | Eli Friedman <eli.friedman@gmail.com> | Tue Aug 23 22:24:57 2011 +0000 |
tree | 1a7183a1cc63808d72184f1de036f0ad56c2e406 | |
parent | 6886a92640f5bffc972f67c0a1f302d6c6e7c322 [diff] |
Refactor and fix checking for initialization of flexible array members. The old version had the checks scattered across the code, missed some checks, and had a couple nasty bugs in existing checks. Fixes PR10648 and another similar accepts-invalid bug. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@138398 91177308-0d34-0410-b5e6-96231b3b80d8