[cfe-commits] r45441 - in /cfe/trunk: Driver/clang.cpp test/Sema/carbon.c test/Sema/cocoa.m
Nate Begeman
natebegeman at mac.com
Sat Dec 29 17:38:50 PST 2007
Author: sampo
Date: Sat Dec 29 19:38:50 2007
New Revision: 45441
URL: http://llvm.org/viewvc/llvm-project?rev=45441&view=rev
Log:
Rename stats to print-stats to avoid conflicting with llvm's
stats statistic when clang is built as a dylib.
Modified:
cfe/trunk/Driver/clang.cpp
cfe/trunk/test/Sema/carbon.c
cfe/trunk/test/Sema/cocoa.m
Modified: cfe/trunk/Driver/clang.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/Driver/clang.cpp?rev=45441&r1=45440&r2=45441&view=diff
==============================================================================
--- cfe/trunk/Driver/clang.cpp (original)
+++ cfe/trunk/Driver/clang.cpp Sat Dec 29 19:38:50 2007
@@ -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.
Modified: cfe/trunk/test/Sema/carbon.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Sema/carbon.c?rev=45441&r1=45440&r2=45441&view=diff
==============================================================================
--- cfe/trunk/test/Sema/carbon.c (original)
+++ cfe/trunk/test/Sema/carbon.c Sat Dec 29 19:38:50 2007
@@ -1,4 +1,4 @@
-// RUN: clang %s -fsyntax-only -stats
+// RUN: clang %s -fsyntax-only -print-stats
#ifdef __APPLE__
#include <Carbon/Carbon.h>
#endif
Modified: cfe/trunk/test/Sema/cocoa.m
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Sema/cocoa.m?rev=45441&r1=45440&r2=45441&view=diff
==============================================================================
--- cfe/trunk/test/Sema/cocoa.m (original)
+++ cfe/trunk/test/Sema/cocoa.m Sat Dec 29 19:38:50 2007
@@ -1,4 +1,4 @@
-// RUN: clang %s -stats
+// RUN: clang %s -print-stats
#ifdef __APPLE__
#include <Cocoa/Cocoa.h>
#endif
More information about the cfe-commits
mailing list