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/struct.c | |
parent | a503f7c9d2a065cf497ccaa87060320494152415 (diff) | |
download | llvm-198cb4df6e583e8bf74aca570cf657577164f239.zip llvm-198cb4df6e583e8bf74aca570cf657577164f239.tar.gz llvm-198cb4df6e583e8bf74aca570cf657577164f239.tar.bz2 |
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/struct.c')
-rw-r--r-- | clang/test/ASTMerge/struct.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/ASTMerge/struct.c b/clang/test/ASTMerge/struct.c index e72b93b..7217222 100644 --- a/clang/test/ASTMerge/struct.c +++ b/clang/test/ASTMerge/struct.c @@ -39,4 +39,4 @@ // CHECK: struct2.c:53:43: note: field 'Deeper' has type 'struct DeeperError *' here // CHECK: struct2.c:54:3: error: external variable 'xDeep' declared with incompatible types in different translation units ('struct DeepError' vs. 'struct DeepError') // CHECK: struct1.c:57:3: note: declared here with type 'struct DeepError' -// CHECK: 37 diagnostics +// CHECK: 8 warnings and 7 errors generated |