summaryrefslogtreecommitdiffstats
path: root/clang/test/ASTMerge/interface.m
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2010-04-07 18:47:42 +0000
committerChris Lattner <sabre@nondot.org>2010-04-07 18:47:42 +0000
commit198cb4df6e583e8bf74aca570cf657577164f239 (patch)
tree44f86c7a9cb2cb0d149e543c243c9d61f1e17513 /clang/test/ASTMerge/interface.m
parenta503f7c9d2a065cf497ccaa87060320494152415 (diff)
downloadbcm5719-llvm-198cb4df6e583e8bf74aca570cf657577164f239.tar.gz
bcm5719-llvm-198cb4df6e583e8bf74aca570cf657577164f239.zip
Instead of counting totally diagnostics, split the count into a count
of errors and warnings. This allows us to emit something like this: 2 warnings and 1 error generated. instead of: 3 diagnostics generated. This also stops counting 'notes' because they are just follow-on information about the previous diag, not a diagnostic in themselves. llvm-svn: 100675
Diffstat (limited to 'clang/test/ASTMerge/interface.m')
-rw-r--r--clang/test/ASTMerge/interface.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/ASTMerge/interface.m b/clang/test/ASTMerge/interface.m
index 47e4e052692..420ae388254 100644
--- a/clang/test/ASTMerge/interface.m
+++ b/clang/test/ASTMerge/interface.m
@@ -15,5 +15,5 @@
// CHECK: interface1.m:46:1: note: class method 'bar:' also declared here
// CHECK: interface2.m:57:20: error: instance method 'bar:' has a parameter with a different types in different translation units ('double' vs. 'float')
// CHECK: interface1.m:58:19: note: declared here with type 'float'
-// CHECK: 13 diagnostics generated
+// CHECK: 6 errors generated
OpenPOWER on IntegriCloud