diff options
author | Chris Lattner <sabre@nondot.org> | 2010-04-07 18:47:42 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2010-04-07 18:47:42 +0000 |
commit | 198cb4df6e583e8bf74aca570cf657577164f239 (patch) | |
tree | 44f86c7a9cb2cb0d149e543c243c9d61f1e17513 /clang/test/ASTMerge/var.c | |
parent | a503f7c9d2a065cf497ccaa87060320494152415 (diff) | |
download | bcm5719-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/var.c')
-rw-r--r-- | clang/test/ASTMerge/var.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/ASTMerge/var.c b/clang/test/ASTMerge/var.c index fd307940aff..7f23b9f5d26 100644 --- a/clang/test/ASTMerge/var.c +++ b/clang/test/ASTMerge/var.c @@ -9,4 +9,4 @@ // CHECK: var1.h:1:8: note: declared here with type 'double' // CHECK: error: external variable 'xarray3' declared with incompatible types in different translation units ('int [17]' vs. 'int [18]') // CHECK: var1.c:7:5: note: declared here with type 'int [18]' -// CHECK: 6 diagnostics +// CHECK: 3 errors |