summaryrefslogtreecommitdiffstats
path: root/clang/Driver/RewriteTest.cpp
diff options
context:
space:
mode:
authorSteve Naroff <snaroff@apple.com>2008-03-12 21:22:52 +0000
committerSteve Naroff <snaroff@apple.com>2008-03-12 21:22:52 +0000
commitffb5f9ad93de9dded7bbac4e9cac2fb6cbfc7cab (patch)
treef07ab62e960c9ee27e29b0581173c0053f68256b /clang/Driver/RewriteTest.cpp
parent9f33bd2c34b0ec8117e3028f3dfe432f4a0bcead (diff)
downloadbcm5719-llvm-ffb5f9ad93de9dded7bbac4e9cac2fb6cbfc7cab.tar.gz
bcm5719-llvm-ffb5f9ad93de9dded7bbac4e9cac2fb6cbfc7cab.zip
Minor aesthetic improvement (after I reviewed my last commit).
llvm-svn: 48304
Diffstat (limited to 'clang/Driver/RewriteTest.cpp')
-rw-r--r--clang/Driver/RewriteTest.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/clang/Driver/RewriteTest.cpp b/clang/Driver/RewriteTest.cpp
index b500cf537a4..81401973518 100644
--- a/clang/Driver/RewriteTest.cpp
+++ b/clang/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.
OpenPOWER on IntegriCloud