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/enum.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/enum.c')
| -rw-r--r-- | clang/test/ASTMerge/enum.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/ASTMerge/enum.c b/clang/test/ASTMerge/enum.c index 9b78fd1022e..4380d192f1b 100644 --- a/clang/test/ASTMerge/enum.c +++ b/clang/test/ASTMerge/enum.c @@ -22,4 +22,4 @@ // CHECK: enum1.c:30:6: note: no corresponding enumerator here // CHECK: enum2.c:34:3: error: external variable 'x5' declared with incompatible types in different translation units ('enum E5' vs. 'enum E5') // CHECK: enum1.c:34:3: note: declared here with type 'enum E5' -// CHECK: 20 diagnostics generated +// CHECK: 4 warnings and 4 errors generated |

