Rename stats to print-stats to avoid conflicting with llvm's
stats statistic when clang is built as a dylib.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@45441 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/Driver/clang.cpp b/Driver/clang.cpp
index fa1be49..6e1683c 100644
--- a/Driver/clang.cpp
+++ b/Driver/clang.cpp
@@ -50,7 +50,8 @@
static llvm::cl::opt<bool>
Verbose("v", llvm::cl::desc("Enable verbose output"));
static llvm::cl::opt<bool>
-Stats("stats", llvm::cl::desc("Print performance metrics and statistics"));
+Stats("print-stats",
+ llvm::cl::desc("Print performance metrics and statistics"));
enum ProgActions {
RewriteTest, // Rewriter testing stuff.
diff --git a/test/Sema/carbon.c b/test/Sema/carbon.c
index 1756fd4..9c9c378 100644
--- a/test/Sema/carbon.c
+++ b/test/Sema/carbon.c
@@ -1,4 +1,4 @@
-// RUN: clang %s -fsyntax-only -stats
+// RUN: clang %s -fsyntax-only -print-stats
#ifdef __APPLE__
#include <Carbon/Carbon.h>
#endif
diff --git a/test/Sema/cocoa.m b/test/Sema/cocoa.m
index cfb1f4e..7cb1b52 100644
--- a/test/Sema/cocoa.m
+++ b/test/Sema/cocoa.m
@@ -1,4 +1,4 @@
-// RUN: clang %s -stats
+// RUN: clang %s -print-stats
#ifdef __APPLE__
#include <Cocoa/Cocoa.h>
#endif