]> granicus.if.org Git - clang/commit
make the rewriter add a #ifndef around the #define of __attribute__.
authorChris Lattner <sabre@nondot.org>
Tue, 13 Apr 2010 17:33:56 +0000 (17:33 +0000)
committerChris Lattner <sabre@nondot.org>
Tue, 13 Apr 2010 17:33:56 +0000 (17:33 +0000)
commit553e583e1d30fe30ac2de3526536bbebee6da1ce
tree8f8fd654d5fdb30231e64f98a03f744f87b4f483
parentabe183dd2faa124ac0d1f0e29a4f4216a483748c
make the rewriter add a #ifndef around the #define of __attribute__.
Without it, there is no reason for a compiler that supports it to
emit the dead static globals that the rewriter labels attribute(used).

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@101149 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Frontend/RewriteObjC.cpp
test/Rewriter/rewrite-super-message.mm