This is an archive of the discontinued LLVM Phabricator instance.

[analyzer] Don't allow hidden checkers to emit diagnostics
ClosedPublic

Authored by Szelethus on Jun 12 2020, 10:45 AM.

Details

Summary

Hidden checkers (those marked with Hidden in Checkers.td) are meant for development purposes only, and are only displayed under -analyzer-checker-help-developer, so users shouldn't see reports from them.

I moved StdLibraryFunctionsArg checker to the unix package from apiModeling as it violated this rule. I believe this change doesn't deserve a different revision because it is in alpha, and the name is so bad anyways I don't immediately care where it is, because we'll have to revisit it soon enough.

Diff Detail

Event Timeline

Szelethus created this revision.Jun 12 2020, 10:45 AM
Szelethus edited the summary of this revision. (Show Details)Jun 28 2020, 10:12 AM
gamesh411 accepted this revision.Jun 30 2020, 3:07 AM

LGTM if nobody is against moving the checker. I will accept nevertheless.

This revision is now accepted and ready to land.Jun 30 2020, 3:07 AM
This revision was automatically updated to reflect the committed changes.