commit | d86132d52c1dd99ad5519abaad92533712692a8b | [log] [tgz] |
---|---|---|
author | Argyrios Kyrtzidis <akyrtzi@gmail.com> | Sat Oct 30 01:06:26 2010 +0000 |
committer | Argyrios Kyrtzidis <akyrtzi@gmail.com> | Sat Oct 30 01:06:26 2010 +0000 |
tree | 505f005cfd34e5de348296ec854c6a72f04fd835 | |
parent | 6a622dfde49ff06df4e0487fa9782a9a137971ac [diff] |
Don't remove the init expression from the initializer list if it had a semantic error. We already flag the error with InitListChecker's hadError and we mess up the AST unnecessarily. Fixes rdar://8605381. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@117760 91177308-0d34-0410-b5e6-96231b3b80d8