diff options
| author | Douglas Gregor <dgregor@apple.com> | 2011-10-10 16:05:18 +0000 |
|---|---|---|
| committer | Douglas Gregor <dgregor@apple.com> | 2011-10-10 16:05:18 +0000 |
| commit | d24c306e693a1013b233f062291e87d49fa8a580 (patch) | |
| tree | 751cbb4e859930a06211c16e4a928aca521880b0 /lib/CodeGen/CGExpr.cpp | |
| parent | 147545d698972cfd34ece30a5d55e8180784161e (diff) | |
| download | clang-d24c306e693a1013b233f062291e87d49fa8a580.tar.gz clang-d24c306e693a1013b233f062291e87d49fa8a580.tar.bz2 clang-d24c306e693a1013b233f062291e87d49fa8a580.tar.xz | |
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
Diffstat (limited to 'lib/CodeGen/CGExpr.cpp')
0 files changed, 0 insertions, 0 deletions
