commit | 07a77b4b1d1fa95930129541eff8b79558f5d80d | [log] [tgz] |
---|---|---|
author | Douglas Gregor <dgregor@apple.com> | Fri Jan 14 17:12:22 2011 +0000 |
committer | Douglas Gregor <dgregor@apple.com> | Fri Jan 14 17:12:22 2011 +0000 |
tree | 9ff8a2cde1d6d3d5c7dfba57258e0acec0b7da1a | |
parent | cded4f649cd4b7ba7d461c25c6482ef52b8d3a2a [diff] |
When we're instantiating a direct variable initializer that has a pack expansion in it, we may end up instantiating to an empty expression-list. In this case, the variable is uninitialized; tweak the instantiation logic to handle this case. Fixes PR8977. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@123449 91177308-0d34-0410-b5e6-96231b3b80d8