[cfe-commits] r151395 - /cfe/trunk/lib/Rewrite/RewriteModernObjC.cpp
Fariborz Jahanian
fjahanian at apple.com
Fri Feb 24 13:42:38 PST 2012
Author: fjahanian
Date: Fri Feb 24 15:42:38 2012
New Revision: 151395
URL: http://llvm.org/viewvc/llvm-project?rev=151395&view=rev
Log:
Minor modern rewriter bug showed up during testing
against a large project.
Modified:
cfe/trunk/lib/Rewrite/RewriteModernObjC.cpp
Modified: cfe/trunk/lib/Rewrite/RewriteModernObjC.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Rewrite/RewriteModernObjC.cpp?rev=151395&r1=151394&r2=151395&view=diff
==============================================================================
--- cfe/trunk/lib/Rewrite/RewriteModernObjC.cpp (original)
+++ cfe/trunk/lib/Rewrite/RewriteModernObjC.cpp Fri Feb 24 15:42:38 2012
@@ -173,7 +173,7 @@
break;
} else {
// Keep track of all interface declarations seen.
- ObjCInterfacesSeen.push_back(Class->getCanonicalDecl());
+ ObjCInterfacesSeen.push_back(Class);
break;
}
}
More information about the cfe-commits
mailing list