commit | eeb15d499f032bb89773ddaca2d17475122a37bb | [log] [tgz] |
---|---|---|
author | Douglas Gregor <dgregor@apple.com> | Wed Feb 04 22:46:25 2009 +0000 |
committer | Douglas Gregor <dgregor@apple.com> | Wed Feb 04 22:46:25 2009 +0000 |
tree | e74f990d3f40d2c180b21d0e7f8b9a57148792c2 | |
parent | 98eb8a7a702b95183ed015706b1f1c66f5cb27a4 [diff] |
Implement semantic analysis for the GNU flexible array initialization extension. The interaction with designated initializers is a bit... interesting... but we follow GNU's lead and don't permit too much crazy code in this area. Also, make the "excess initializers" error message a bit more informative. Addresses PR2561: http://llvm.org/bugs/show_bug.cgi?id=2561 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@63785 91177308-0d34-0410-b5e6-96231b3b80d8