[cfe-commits] r66657 - /cfe/branches/Apple/objective-rewrite/tools/clang/Driver/RewriteObjC.cpp
Steve Naroff
snaroff at apple.com
Wed Mar 11 05:30:55 PDT 2009
Author: snaroff
Date: Wed Mar 11 07:30:53 2009
New Revision: 66657
URL: http://llvm.org/viewvc/llvm-project?rev=66657&view=rev
Log:
Fix <rdar://problem/6179686> clang ObjC rewriter: 'self' should be a Class in a class method?.
Modified:
cfe/branches/Apple/objective-rewrite/tools/clang/Driver/RewriteObjC.cpp
Modified: cfe/branches/Apple/objective-rewrite/tools/clang/Driver/RewriteObjC.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/branches/Apple/objective-rewrite/tools/clang/Driver/RewriteObjC.cpp?rev=66657&r1=66656&r2=66657&view=diff
==============================================================================
--- cfe/branches/Apple/objective-rewrite/tools/clang/Driver/RewriteObjC.cpp (original)
+++ cfe/branches/Apple/objective-rewrite/tools/clang/Driver/RewriteObjC.cpp Wed Mar 11 07:30:53 2009
@@ -934,7 +934,7 @@
ResultStr += " *";
}
else
- ResultStr += Context->getObjCIdType().getAsString();
+ ResultStr += Context->getObjCClassType().getAsString();
ResultStr += " self, ";
ResultStr += Context->getObjCSelType().getAsString();
More information about the cfe-commits
mailing list