[PATCH] D28765: CStringChecker can crash when uninitialized checks are disabled

Anna Zaks via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Jan 19 10:14:37 PST 2017


zaks.anna added a comment.

> It is not supported to run the analyzer with some of the core checkers turned off.

Correct.

> Maybe we should change the behavior such that turning off core checkers turn off the warnings from those checkers but not the checkers themselves?

Having this as the default behavior for "disable a checker" could be confusing. however, introducing a new flag for **silencing** warnings from a checker sounds fine.

What is the motivation for disabling the core checkers in this particular case?


https://reviews.llvm.org/D28765





More information about the cfe-commits mailing list