diff options
Diffstat (limited to 'Driver/RewriteTest.cpp')
-rw-r--r-- | Driver/RewriteTest.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Driver/RewriteTest.cpp b/Driver/RewriteTest.cpp index 4096dae3ab..178cf4e4cf 100644 --- a/Driver/RewriteTest.cpp +++ b/Driver/RewriteTest.cpp @@ -1203,7 +1203,7 @@ Stmt *RewriteTest::RewriteObjCTryStmt(ObjCAtTryStmt *S) { const char *lParenLoc = strchr(startBuf, '('); - if (!catchStmt) { // handle "..." + if (catchList->hasEllipsis()) { // Now rewrite the body... lastCatchBody = catchList->getCatchBody(); SourceLocation rParenLoc = catchList->getRParenLoc(); |