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 | 53eee7ba970d21ff15bbd4334164037a3b4cc4b8 (patch) | |
tree | 0cf5e2b1b124846530d4d23f3fd9e3acf9f38b15 /test/ASTMerge/struct.c | |
parent | 5863b41004144470b935d18e6d52ebf11aca8597 (diff) |
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.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@100675 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/ASTMerge/struct.c')
-rw-r--r-- | test/ASTMerge/struct.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ASTMerge/struct.c b/test/ASTMerge/struct.c index e72b93b249..7217222ae5 100644 --- a/test/ASTMerge/struct.c +++ b/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 |