]> granicus.if.org Git - clang/commitdiff
Minor aesthetic improvement (after I reviewed my last commit).
authorSteve Naroff <snaroff@apple.com>
Wed, 12 Mar 2008 21:22:52 +0000 (21:22 +0000)
committerSteve Naroff <snaroff@apple.com>
Wed, 12 Mar 2008 21:22:52 +0000 (21:22 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@48304 91177308-0d34-0410-b5e6-96231b3b80d8

Driver/RewriteTest.cpp

index b500cf537a4a6114efccb571ac0ed16ea26af9dd..81401973518ea3740100440fd5813ef01b6fc2ba 100644 (file)
@@ -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.