diff options
Diffstat (limited to 'clang/lib/Sema/SemaExprCXX.cpp')
-rw-r--r-- | clang/lib/Sema/SemaExprCXX.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/clang/lib/Sema/SemaExprCXX.cpp b/clang/lib/Sema/SemaExprCXX.cpp index 6ce83315553..9f494d98593 100644 --- a/clang/lib/Sema/SemaExprCXX.cpp +++ b/clang/lib/Sema/SemaExprCXX.cpp @@ -806,9 +806,12 @@ Sema::PerformImplicitConversion(Expr *&From, QualType ToType, case ICK_Integral_Promotion: case ICK_Floating_Promotion: + case ICK_Complex_Promotion: case ICK_Integral_Conversion: case ICK_Floating_Conversion: + case ICK_Complex_Conversion: case ICK_Floating_Integral: + case ICK_Complex_Real: case ICK_Compatible_Conversion: // FIXME: Go deeper to get the unqualified type! FromType = ToType.getUnqualifiedType(); |