commit | 4d9e7388ccdfdab97f92caac5db9b87a530742f4 | [log] [tgz] |
---|---|---|
author | Douglas Gregor <dgregor@apple.com> | Mon May 03 18:24:37 2010 +0000 |
committer | Douglas Gregor <dgregor@apple.com> | Mon May 03 18:24:37 2010 +0000 |
tree | e58f08f3a73124413e4880ca009511a09b4ba7f0 | |
parent | 8fc6d236b8d05bad4b41a9be689b26d931adedd5 [diff] |
Complain when we try to initialize an object of Objective-C class type (which is ill-formed) with an initializer list. Also, change the fallback from an assertion to a generic error message, which is far friendlier. Fixes <rdar://problem/7730948>. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@102930 91177308-0d34-0410-b5e6-96231b3b80d8