summaryrefslogtreecommitdiffstats
path: root/clang/Driver/RewriteTest.cpp
diff options
context:
space:
mode:
authorSteve Naroff <snaroff@apple.com>2008-04-04 22:34:24 +0000
committerSteve Naroff <snaroff@apple.com>2008-04-04 22:34:24 +0000
commitaf91b9ae13c7e3d7c3a2b2ac7a883c510c259a49 (patch)
tree4a55f2b15747c9a90b37c99bf0115ec20ce6fa7a /clang/Driver/RewriteTest.cpp
parenteae91700dec6c98f8b091e84832f03cd66f5f683 (diff)
downloadbcm5719-llvm-af91b9ae13c7e3d7c3a2b2ac7a883c510c259a49.tar.gz
bcm5719-llvm-af91b9ae13c7e3d7c3a2b2ac7a883c510c259a49.zip
Rewrite @package (an ObjC 2.0 idiom).
llvm-svn: 49238
Diffstat (limited to 'clang/Driver/RewriteTest.cpp')
-rw-r--r--clang/Driver/RewriteTest.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/Driver/RewriteTest.cpp b/clang/Driver/RewriteTest.cpp
index 03b342230f7..145c766d70d 100644
--- a/clang/Driver/RewriteTest.cpp
+++ b/clang/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);
}
OpenPOWER on IntegriCloud