diff options
author | Anders Carlsson <andersca@mac.com> | 2009-08-27 17:30:43 +0000 |
---|---|---|
committer | Anders Carlsson <andersca@mac.com> | 2009-08-27 17:30:43 +0000 |
commit | 2de3aced4c4373d8a078604c8e61e267a323853a (patch) | |
tree | c7cbaefb9f90dccce48e7789569c560dbda2f1e6 /lib/Sema/SemaCXXCast.cpp | |
parent | da7a18be8f139e1176e457d81c275c0e7ae0ced7 (diff) |
Remove more default arguments.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@80260 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Sema/SemaCXXCast.cpp')
-rw-r--r-- | lib/Sema/SemaCXXCast.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/Sema/SemaCXXCast.cpp b/lib/Sema/SemaCXXCast.cpp index 3643b8808e..b07635779b 100644 --- a/lib/Sema/SemaCXXCast.cpp +++ b/lib/Sema/SemaCXXCast.cpp @@ -763,7 +763,11 @@ TryStaticImplicitCast(Sema &Self, Expr *SrcExpr, QualType DestType, // the reinterpret_cast way. In that case, we pass an ICS so we don't // get error messages. ImplicitConversionSequence ICS; - bool failed = Self.CheckReferenceInit(SrcExpr, DestType, CStyle ? &ICS : 0); + bool failed = Self.CheckReferenceInit(SrcExpr, DestType, + /*SuppressUserConversions=*/false, + /*AllowExplicit=*/false, + /*ForceRValue=*/false, + CStyle ? &ICS : 0); if (!failed) return TC_Success; if (CStyle) |