[cfe-commits] r49238 - /cfe/trunk/Driver/RewriteTest.cpp

Steve Naroff snaroff at apple.com
Fri Apr 4 15:34:24 PDT 2008


Author: snaroff
Date: Fri Apr  4 17:34:24 2008
New Revision: 49238

URL: http://llvm.org/viewvc/llvm-project?rev=49238&view=rev
Log:
Rewrite @package (an ObjC 2.0 idiom).

Modified:
    cfe/trunk/Driver/RewriteTest.cpp

Modified: cfe/trunk/Driver/RewriteTest.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/Driver/RewriteTest.cpp?rev=49238&r1=49237&r2=49238&view=diff

==============================================================================
--- cfe/trunk/Driver/RewriteTest.cpp (original)
+++ cfe/trunk/Driver/RewriteTest.cpp Fri Apr  4 17:34:24 2008
@@ -2271,6 +2271,7 @@
         // this transformation as well, which is still correct c-code.
         if (!strncmp(cursor, "public", strlen("public")) ||
             !strncmp(cursor, "private", strlen("private")) ||
+            !strncmp(cursor, "package", strlen("package")) ||
             !strncmp(cursor, "protected", strlen("protected")))
           InsertText(atLoc, "// ", 3);
       }





More information about the cfe-commits mailing list