]> granicus.if.org Git - clang/commitdiff
80-column please.
authorFariborz Jahanian <fjahanian@apple.com>
Tue, 11 Dec 2007 23:04:08 +0000 (23:04 +0000)
committerFariborz Jahanian <fjahanian@apple.com>
Tue, 11 Dec 2007 23:04:08 +0000 (23:04 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@44888 91177308-0d34-0410-b5e6-96231b3b80d8

Driver/RewriteTest.cpp

index 237ed21f1d246099c4f113b663d95a371a506a8c..bb8f772e706696b0f145e7db0e9f92ea75628269 100644 (file)
@@ -990,6 +990,7 @@ static void scanToNextArgument(const char *&argRef) {
   }
   assert(angle == 0 && "scanToNextArgument - bad protocol type syntax");
 }
+
 bool RewriteTest::needToScanForQualifiers(QualType T) {
   // FIXME: we don't currently represent "id <Protocol>" in the type system.
   if (T == Context->getObjcIdType())
@@ -1057,8 +1058,10 @@ void RewriteTest::RewriteObjcQualifiedInterfaceTypes(Decl *Dcl) {
       const char *startRef = 0, *endRef = 0;
       if (scanForProtocolRefs(startBuf, endBuf, startRef, endRef)) {
         // Get the locations of the startRef, endRef.
-        SourceLocation LessLoc = Loc.getFileLocWithOffset(startRef-startFuncBuf);
-        SourceLocation GreaterLoc = Loc.getFileLocWithOffset(endRef-startFuncBuf+1);
+        SourceLocation LessLoc = 
+          Loc.getFileLocWithOffset(startRef-startFuncBuf);
+        SourceLocation GreaterLoc = 
+          Loc.getFileLocWithOffset(endRef-startFuncBuf+1);
         // Comment out the protocol references.
         Rewrite.InsertText(LessLoc, "/*", 2);
         Rewrite.InsertText(GreaterLoc, "*/", 2);