This doesn't seem to be used code as it didn't break any tests, but fix the

glaring logic bug anyways. =D

llvm-svn: 95533
This commit is contained in:
Chandler Carruth 2010-02-08 06:42:49 +00:00
parent bb3f887a85
commit 794da4c236
1 changed files with 1 additions and 1 deletions

View File

@ -4510,7 +4510,7 @@ TreeTransform<Derived>::TransformCXXDefaultArgExpr(CXXDefaultArgExpr *E) {
if (!Param)
return SemaRef.ExprError();
if (getDerived().AlwaysRebuild() &&
if (!getDerived().AlwaysRebuild() &&
Param == E->getParam())
return SemaRef.Owned(E->Retain());