Rewrite @package (an ObjC 2.0 idiom).

llvm-svn: 49238
This commit is contained in:
Steve Naroff 2008-04-04 22:34:24 +00:00
parent eae91700de
commit af91b9ae13
1 changed files with 1 additions and 0 deletions

View File

@ -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);
}