diff options
| author | Anders Carlsson <andersca@mac.com> | 2009-08-27 17:18:13 +0000 |
|---|---|---|
| committer | Anders Carlsson <andersca@mac.com> | 2009-08-27 17:18:13 +0000 |
| commit | 03068aa0777d7ab13863cc1892dd18fa4feef506 (patch) | |
| tree | 7a709ada2678c51120f07433a2b871f6c426241c /clang/lib/Sema/SemaExprCXX.cpp | |
| parent | 5ec4abf2684ddef0b50fbc6fde3d579f3ad8faba (diff) | |
| download | bcm5719-llvm-03068aa0777d7ab13863cc1892dd18fa4feef506.tar.gz bcm5719-llvm-03068aa0777d7ab13863cc1892dd18fa4feef506.zip | |
Remove default argument from TryCopyInitialization.
llvm-svn: 80256
Diffstat (limited to 'clang/lib/Sema/SemaExprCXX.cpp')
| -rw-r--r-- | clang/lib/Sema/SemaExprCXX.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/clang/lib/Sema/SemaExprCXX.cpp b/clang/lib/Sema/SemaExprCXX.cpp index 85924948da7..870041dc87e 100644 --- a/clang/lib/Sema/SemaExprCXX.cpp +++ b/clang/lib/Sema/SemaExprCXX.cpp @@ -1228,7 +1228,9 @@ static bool TryClassUnification(Sema &Self, Expr *From, Expr *To, // Could still fail if there's no copy constructor. // FIXME: Is this a hard error then, or just a conversion failure? The // standard doesn't say. - ICS = Self.TryCopyInitialization(From, TTy); + ICS = Self.TryCopyInitialization(From, TTy, + /*SuppressUserConversions=*/false, + /*ForceRValue=*/false); } } else { // -- Otherwise: E1 can be converted to match E2 if E1 can be |

