[cfe-commits] r95533 - /cfe/trunk/lib/Sema/TreeTransform.h

Chandler Carruth chandlerc at gmail.com
Sun Feb 7 22:42:49 PST 2010


Author: chandlerc
Date: Mon Feb  8 00:42:49 2010
New Revision: 95533

URL: http://llvm.org/viewvc/llvm-project?rev=95533&view=rev
Log:
This doesn't seem to be used code as it didn't break any tests, but fix the
glaring logic bug anyways. =D

Modified:
    cfe/trunk/lib/Sema/TreeTransform.h

Modified: cfe/trunk/lib/Sema/TreeTransform.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Sema/TreeTransform.h?rev=95533&r1=95532&r2=95533&view=diff

==============================================================================
--- cfe/trunk/lib/Sema/TreeTransform.h (original)
+++ cfe/trunk/lib/Sema/TreeTransform.h Mon Feb  8 00:42:49 2010
@@ -4510,7 +4510,7 @@
   if (!Param)
     return SemaRef.ExprError();
 
-  if (getDerived().AlwaysRebuild() &&
+  if (!getDerived().AlwaysRebuild() &&
       Param == E->getParam())
     return SemaRef.Owned(E->Retain());
 





More information about the cfe-commits mailing list