This is an archive of the discontinued LLVM Phabricator instance.

scan-build: Add an option to show the description in the list of defect
ClosedPublic

Authored by sylvestre.ledru on Jul 26 2016, 7:27 AM.

Details

Summary

This patch adds an option --show-description to add the defect description to the list of defect. This helps to get a better understanding of the defect without opening the page.

For example, this is used for Firefox:
https://people.mozilla.org/~sledru/reports/fx-scan-build/

Diff Detail

Event Timeline

sylvestre.ledru retitled this revision from to scan-build: Add an option to show the description in the list of defect.
sylvestre.ledru updated this object.
sylvestre.ledru added a subscriber: cfe-commits.
zaks.anna edited edge metadata.Jul 27 2016, 9:55 PM

The report you are referencing does not seem to have "Description" as a column name. Also, the titles row is not gray all the way to the right...

The Firefox report is using a previous version of the patch (which could not be merged upstream: quick and dirty).
If you want, I can update my scan-build instance to use the new version (which doesn't have the issues you mentioned)

zaks.anna accepted this revision.Jul 29 2016, 5:38 PM
zaks.anna edited edge metadata.

Ok. LGTM.

Thank you!
Anna.

This revision is now accepted and ready to land.Jul 29 2016, 5:38 PM