commit | d24c306e693a1013b233f062291e87d49fa8a580 | [log] [tgz] |
---|---|---|
author | Douglas Gregor <dgregor@apple.com> | Mon Oct 10 16:05:18 2011 +0000 |
committer | Douglas Gregor <dgregor@apple.com> | Mon Oct 10 16:05:18 2011 +0000 |
tree | 751cbb4e859930a06211c16e4a928aca521880b0 | |
parent | 147545d698972cfd34ece30a5d55e8180784161e [diff] |
When adding a direct initializer to a declaration, allow the initializer to update the type of the declaration. For example, this allows us to determine the size of an incomplete array from its initializer. Fixes PR10288. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@141543 91177308-0d34-0410-b5e6-96231b3b80d8