[PATCH] D25719: [Sema] Fix PR30664

2016-10-27 Thread Richard Smith via cfe-commits
rsmith added inline comments. Comment at: lib/Sema/SemaExprCXX.cpp:3429-3430 // initial standard conversion sequence converts the source type to - // the type required by the argument of the constructor - BeforeToType =

[PATCH] D25719: [Sema] Fix PR30664

2016-10-18 Thread Alex Lorenz via cfe-commits
arphaman created this revision. arphaman added a reviewer: rsmith. arphaman added a subscriber: cfe-commits. arphaman set the repository for this revision to rL LLVM. This patch fixes an assertion failure crash that happens when a constant record reference member is initialized using an empty