From: Steve Naroff Date: Fri, 4 Apr 2008 22:34:24 +0000 (+0000) Subject: Rewrite @package (an ObjC 2.0 idiom). X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c5e327712499caa2a9f3b6591490de8cb7df0b5b;p=clang Rewrite @package (an ObjC 2.0 idiom). git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@49238 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/Driver/RewriteTest.cpp b/Driver/RewriteTest.cpp index 03b342230f..145c766d70 100644 --- a/Driver/RewriteTest.cpp +++ b/Driver/RewriteTest.cpp @@ -2271,6 +2271,7 @@ void RewriteTest::SynthesizeObjCInternalStruct(ObjCInterfaceDecl *CDecl, // 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); }