[cfe-commits] r93569 - /cfe/trunk/lib/Frontend/RewriteObjC.cpp
Fariborz Jahanian
fjahanian at apple.com
Fri Jan 15 14:29:39 PST 2010
Author: fjahanian
Date: Fri Jan 15 16:29:39 2010
New Revision: 93569
URL: http://llvm.org/viewvc/llvm-project?rev=93569&view=rev
Log:
define __weak to null in rewritten source for
-fms-extensions as well.
Modified:
cfe/trunk/lib/Frontend/RewriteObjC.cpp
Modified: cfe/trunk/lib/Frontend/RewriteObjC.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Frontend/RewriteObjC.cpp?rev=93569&r1=93568&r2=93569&view=diff
==============================================================================
--- cfe/trunk/lib/Frontend/RewriteObjC.cpp (original)
+++ cfe/trunk/lib/Frontend/RewriteObjC.cpp Fri Jan 15 16:29:39 2010
@@ -618,6 +618,7 @@
Preamble += "#undef __OBJC_RW_DLLIMPORT\n";
Preamble += "#undef __OBJC_RW_STATICIMPORT\n";
Preamble += "#define __attribute__(X)\n";
+ Preamble += "#define __weak\n";
}
else {
Preamble += "#define __block\n";
More information about the cfe-commits
mailing list