r194237 - Fix a bogus assert I introduced in r194224
Douglas Gregor
dgregor at apple.com
Thu Nov 7 17:20:25 PST 2013
Author: dgregor
Date: Thu Nov 7 19:20:25 2013
New Revision: 194237
URL: http://llvm.org/viewvc/llvm-project?rev=194237&view=rev
Log:
Fix a bogus assert I introduced in r194224
Modified:
cfe/trunk/lib/Sema/SemaOverload.cpp
Modified: cfe/trunk/lib/Sema/SemaOverload.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Sema/SemaOverload.cpp?rev=194237&r1=194236&r2=194237&view=diff
==============================================================================
--- cfe/trunk/lib/Sema/SemaOverload.cpp (original)
+++ cfe/trunk/lib/Sema/SemaOverload.cpp Thu Nov 7 19:20:25 2013
@@ -3006,7 +3006,7 @@ IsUserDefinedConversion(Sema &S, Expr *F
OverloadCandidateSet &CandidateSet,
bool AllowExplicit,
bool AllowObjCConversionOnExplicit) {
- assert(!AllowExplicit || !AllowObjCConversionOnExplicit);
+ assert(AllowExplicit || !AllowObjCConversionOnExplicit);
// Whether we will only visit constructors.
bool ConstructorsOnly = false;
More information about the cfe-commits
mailing list