diff options
author | Steve Naroff <snaroff@apple.com> | 2008-03-12 21:22:52 +0000 |
---|---|---|
committer | Steve Naroff <snaroff@apple.com> | 2008-03-12 21:22:52 +0000 |
commit | 819173c41e395744480e8f325dc5c02438420604 (patch) | |
tree | 52c5d393cf0a8d8813d3286278a23364b9cb3d08 /Driver/RewriteTest.cpp | |
parent | 39bbd9f5918950436821585afc6244b1fe2c7295 (diff) |
Minor aesthetic improvement (after I reviewed my last commit).
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@48304 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'Driver/RewriteTest.cpp')
-rw-r--r-- | Driver/RewriteTest.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/Driver/RewriteTest.cpp b/Driver/RewriteTest.cpp index b500cf537a..8140197351 100644 --- a/Driver/RewriteTest.cpp +++ b/Driver/RewriteTest.cpp @@ -2195,8 +2195,7 @@ void RewriteTest::SynthesizeObjCInternalStruct(ObjCInterfaceDecl *CDecl, Result += RCDecl->getName(); Result += "_IMPL "; Result += RCDecl->getName(); - Result += "_IVARS"; - Result += ";\n"; + Result += "_IVARS;\n"; // insert the super class structure definition. SourceLocation OnePastCurly = @@ -2241,8 +2240,7 @@ void RewriteTest::SynthesizeObjCInternalStruct(ObjCInterfaceDecl *CDecl, Result += RCDecl->getName(); Result += "_IMPL "; Result += RCDecl->getName(); - Result += "_IVARS"; - Result += ";\n};\n"; + Result += "_IVARS;\n};\n"; ReplaceText(LocStart, endBuf-startBuf, Result.c_str(), Result.size()); } // Mark this struct as having been generated. |