aboutsummaryrefslogtreecommitdiff
path: root/Driver/RewriteTest.cpp
diff options
context:
space:
mode:
authorFariborz Jahanian <fjahanian@apple.com>2007-12-11 23:04:08 +0000
committerFariborz Jahanian <fjahanian@apple.com>2007-12-11 23:04:08 +0000
commit291e04b29669d6576e19e35555bbc3cadd2f6649 (patch)
tree4ad83f4a1d2ee91dc53393b8187ae1e73f679e5e /Driver/RewriteTest.cpp
parent2eefd8657c233bc7c9330acfe475fc270bbe7cab (diff)
80-column please.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@44888 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'Driver/RewriteTest.cpp')
-rw-r--r--Driver/RewriteTest.cpp7
1 files changed, 5 insertions, 2 deletions
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 <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);