diff options
Diffstat (limited to 'clang/lib/Sema/SemaDeclCXX.cpp')
-rw-r--r-- | clang/lib/Sema/SemaDeclCXX.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/lib/Sema/SemaDeclCXX.cpp b/clang/lib/Sema/SemaDeclCXX.cpp index eb4299f79cf..ed01a7f2d07 100644 --- a/clang/lib/Sema/SemaDeclCXX.cpp +++ b/clang/lib/Sema/SemaDeclCXX.cpp @@ -2837,9 +2837,9 @@ Sema::CompareReferenceRelationship(QualType T1, QualType T2, /// When @p ForceRValue, we unconditionally treat the initializer as an rvalue. bool Sema::CheckReferenceInit(Expr *&Init, QualType DeclType, - ImplicitConversionSequence *ICS, bool SuppressUserConversions, - bool AllowExplicit, bool ForceRValue) { + bool AllowExplicit, bool ForceRValue, + ImplicitConversionSequence *ICS) { assert(DeclType->isReferenceType() && "Reference init needs a reference"); QualType T1 = DeclType->getAs<ReferenceType>()->getPointeeType(); |