aboutsummaryrefslogtreecommitdiff
path: root/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
commitc5e327712499caa2a9f3b6591490de8cb7df0b5b (patch)
tree8d3e3b5a9ac59ab98f25eb1a3fd9c370152da961 /Driver/RewriteTest.cpp
parent563b82818866da89e6b4d733024bc549b2f34965 (diff)
Rewrite @package (an ObjC 2.0 idiom).
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@49238 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'Driver/RewriteTest.cpp')
-rw-r--r--Driver/RewriteTest.cpp1
1 files changed, 1 insertions, 0 deletions
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);
}