commit | 464b2f0ab31f6de8761f76f6754809f9746f4584 | [log] [tgz] |
---|---|---|
author | Douglas Gregor <dgregor@apple.com> | Fri Nov 05 22:21:31 2010 +0000 |
committer | Douglas Gregor <dgregor@apple.com> | Fri Nov 05 22:21:31 2010 +0000 |
tree | 3662cd2a5c603514f2ec6e2f3c1b874a6af13977 | |
parent | 60f7684881f9f6bc779e91212aea89d9afc723dd [diff] |
Check for an invalid field earlier in a constructor's initialization of that field. Otherwise, we can end up building and later trying to instantiate a dependent member initializer that will fail at instantiation time. Unfortunately, I've only managed to trigger this bug with very large sources, so there's no test case :( git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@118306 91177308-0d34-0410-b5e6-96231b3b80d8