summaryrefslogtreecommitdiffstats
path: root/clang/test/Misc/warning-flags-enabled.c
diff options
context:
space:
mode:
authorJordan Rose <jordan_rose@apple.com>2012-06-22 00:33:20 +0000
committerJordan Rose <jordan_rose@apple.com>2012-06-22 00:33:20 +0000
commitb820709144570a05a2e74878a86cde49989e52e0 (patch)
treea769711062f7c198ccff526262e608b930e6177c /clang/test/Misc/warning-flags-enabled.c
parent0b60ebbf79dff0856f499ad2ae50758bc959094c (diff)
downloadbcm5719-llvm-b820709144570a05a2e74878a86cde49989e52e0.tar.gz
bcm5719-llvm-b820709144570a05a2e74878a86cde49989e52e0.zip
[diagtool] Write to llvm::outs() by default instead of llvm::errs()
llvm-svn: 158954
Diffstat (limited to 'clang/test/Misc/warning-flags-enabled.c')
-rw-r--r--clang/test/Misc/warning-flags-enabled.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/clang/test/Misc/warning-flags-enabled.c b/clang/test/Misc/warning-flags-enabled.c
index 359ba708e29..1c1c38f864d 100644
--- a/clang/test/Misc/warning-flags-enabled.c
+++ b/clang/test/Misc/warning-flags-enabled.c
@@ -1,4 +1,4 @@
-// RUN: diagtool show-enabled %s 2>&1 | FileCheck %s
+// RUN: diagtool show-enabled %s | FileCheck %s
//
// This shows warnings which are on by default.
// We just check a few to make sure it's doing something sensible.
@@ -8,18 +8,18 @@
// CHECK: warn_unterminated_string
-// RUN: diagtool show-enabled -Wno-everything %s 2>&1 | count 0
+// RUN: diagtool show-enabled -Wno-everything %s | count 0
-// RUN: diagtool show-enabled -Wno-everything -Wobjc-root-class %s 2>&1 | FileCheck -check-prefix CHECK-WARN %s
-// RUN: diagtool show-enabled -Wno-everything -Werror=objc-root-class %s 2>&1 | FileCheck -check-prefix CHECK-ERROR %s
-// RUN: diagtool show-enabled -Wno-everything -Wfatal-errors=objc-root-class %s 2>&1 | FileCheck -check-prefix CHECK-FATAL %s
+// RUN: diagtool show-enabled -Wno-everything -Wobjc-root-class %s | FileCheck -check-prefix CHECK-WARN %s
+// RUN: diagtool show-enabled -Wno-everything -Werror=objc-root-class %s | FileCheck -check-prefix CHECK-ERROR %s
+// RUN: diagtool show-enabled -Wno-everything -Wfatal-errors=objc-root-class %s | FileCheck -check-prefix CHECK-FATAL %s
//
// CHECK-WARN: W warn_objc_root_class_missing [-Wobjc-root-class]
// CHECK-ERROR: E warn_objc_root_class_missing [-Wobjc-root-class]
// CHECK-FATAL: F warn_objc_root_class_missing [-Wobjc-root-class]
-// RUN: diagtool show-enabled --no-levels -Wno-everything -Wobjc-root-class %s 2>&1 | FileCheck -check-prefix CHECK-NO-LEVELS %s
+// RUN: diagtool show-enabled --no-levels -Wno-everything -Wobjc-root-class %s | FileCheck -check-prefix CHECK-NO-LEVELS %s
//
// CHECK-NO-LEVELS-NOT: W
// CHECK-NO-LEVELS-NOT: E
OpenPOWER on IntegriCloud