From f329527bbeae86c8eac6eea6efaa20e807c16679 Mon Sep 17 00:00:00 2001 From: Fariborz Jahanian Date: Fri, 24 Feb 2012 21:42:38 +0000 Subject: [PATCH] Minor modern rewriter bug showed up during testing against a large project. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@151395 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Rewrite/RewriteModernObjC.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Rewrite/RewriteModernObjC.cpp b/lib/Rewrite/RewriteModernObjC.cpp index 403ccd9c12..a2dbf9f437 100644 --- a/lib/Rewrite/RewriteModernObjC.cpp +++ b/lib/Rewrite/RewriteModernObjC.cpp @@ -173,7 +173,7 @@ namespace { break; } else { // Keep track of all interface declarations seen. - ObjCInterfacesSeen.push_back(Class->getCanonicalDecl()); + ObjCInterfacesSeen.push_back(Class); break; } } -- 2.40.0