Fix a bogus assert I introduced in r194224

llvm-svn: 194237
This commit is contained in:
Douglas Gregor 2013-11-08 01:20:25 +00:00
parent 51327f9237
commit 2ee1d99d00
1 changed files with 1 additions and 1 deletions

View File

@ -3006,7 +3006,7 @@ IsUserDefinedConversion(Sema &S, Expr *From, QualType ToType,
OverloadCandidateSet &CandidateSet,
bool AllowExplicit,
bool AllowObjCConversionOnExplicit) {
assert(!AllowExplicit || !AllowObjCConversionOnExplicit);
assert(AllowExplicit || !AllowObjCConversionOnExplicit);
// Whether we will only visit constructors.
bool ConstructorsOnly = false;