From 16e703ade5b596316dbd61a6ef0e37a3b2f7a6d5 Mon Sep 17 00:00:00 2001 From: Fariborz Jahanian Date: Tue, 11 Dec 2007 23:04:08 +0000 Subject: 80-column please. llvm-svn: 44888 --- clang/Driver/RewriteTest.cpp | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'clang/Driver/RewriteTest.cpp') diff --git a/clang/Driver/RewriteTest.cpp b/clang/Driver/RewriteTest.cpp index 237ed21f1d2..bb8f772e706 100644 --- a/clang/Driver/RewriteTest.cpp +++ b/clang/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); -- cgit v1.2.3