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 /llvm/lib/Analysis/DomPrinter.cpp | |
| 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 'llvm/lib/Analysis/DomPrinter.cpp')
0 files changed, 0 insertions, 0 deletions

