This is an archive of the discontinued LLVM Phabricator instance.

Print stats on displayed and ignored warnings.
ClosedPublic

Authored by alexfh on May 6 2014, 7:25 AM.

Details

Summary

Also displays a hint to use -header-filter='.*' in case any warnings
are in non-user code. This will help discoverability of this option.

Diff Detail

Event Timeline

alexfh updated this revision to Diff 9110.May 6 2014, 7:25 AM
alexfh retitled this revision from to Print stats on displayed and ignored warnings..
alexfh updated this object.
alexfh edited the test plan for this revision. (Show Details)
alexfh added a reviewer: klimek.
alexfh added a subscriber: Unknown Object (MLST).
klimek accepted this revision.May 7 2014, 1:25 AM
klimek edited edge metadata.

LG.
I'd slightly change the stats output.
By default, only output them if warnings were suppressed:
Suppressed N warnings (M in non-user code, L NOLINT)
<header-filter note>

This revision is now accepted and ready to land.May 7 2014, 1:25 AM
alexfh closed this revision.May 7 2014, 2:14 AM