diff options
author | Sebastian Redl <sebastian.redl@getdesigned.at> | 2011-11-01 15:53:09 +0000 |
---|---|---|
committer | Sebastian Redl <sebastian.redl@getdesigned.at> | 2011-11-01 15:53:09 +0000 |
commit | 72ef7bc2b580fae96eff0e918954c21cec32ad41 (patch) | |
tree | 73c8787922564c7525292718a4ad425c4e191636 /clang/lib/Sema/SemaExprCXX.cpp | |
parent | 56ce0932db5a8ef8002287779c1ca8f55313a9d3 (diff) | |
download | bcm5719-llvm-72ef7bc2b580fae96eff0e918954c21cec32ad41.tar.gz bcm5719-llvm-72ef7bc2b580fae96eff0e918954c21cec32ad41.zip |
Enable function call and some overload resolution with parameters of aggregate class type and initializer list arguments.
llvm-svn: 143462
Diffstat (limited to 'clang/lib/Sema/SemaExprCXX.cpp')
-rw-r--r-- | clang/lib/Sema/SemaExprCXX.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/lib/Sema/SemaExprCXX.cpp b/clang/lib/Sema/SemaExprCXX.cpp index c96ab42b880..f1cb5ea0408 100644 --- a/clang/lib/Sema/SemaExprCXX.cpp +++ b/clang/lib/Sema/SemaExprCXX.cpp @@ -2129,6 +2129,7 @@ Sema::PerformImplicitConversion(Expr *From, QualType ToType, FunctionDecl *FD = ICS.UserDefined.ConversionFunction; CastKind CastKind; QualType BeforeToType; + assert(FD && "FIXME: aggregate initialization from init list"); if (const CXXConversionDecl *Conv = dyn_cast<CXXConversionDecl>(FD)) { CastKind = CK_UserDefinedConversion; |