From: Fariborz Jahanian Date: Tue, 11 Dec 2007 23:04:08 +0000 (+0000) Subject: 80-column please. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=291e04b29669d6576e19e35555bbc3cadd2f6649;p=clang 80-column please. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@44888 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/Driver/RewriteTest.cpp b/Driver/RewriteTest.cpp index 237ed21f1d..bb8f772e70 100644 --- a/Driver/RewriteTest.cpp +++ b/Driver/RewriteTest.cpp @@ -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 " 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);