Minor API cleanup...



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@46649 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/Driver/RewriteTest.cpp b/Driver/RewriteTest.cpp
index 4096dae..178cf4e 100644
--- a/Driver/RewriteTest.cpp
+++ b/Driver/RewriteTest.cpp
@@ -1203,7 +1203,7 @@
     
     const char *lParenLoc = strchr(startBuf, '(');
 
-    if (!catchStmt) { // handle "..."
+    if (catchList->hasEllipsis()) {
       // Now rewrite the body...
       lastCatchBody = catchList->getCatchBody();
       SourceLocation rParenLoc = catchList->getRParenLoc();