HomePhabricator

[analyzer] Make inclusion/exclusion of checkers less ambiguous.

Description

[analyzer] Make inclusion/exclusion of checkers less ambiguous.

A checker may be enabled/disabled multiple times via -enable-checker and -disable-checker scan-build arguments. Currently the conflicting and repetitive arguments are passed to the analyzer as is.
With this patch only the last enable/disable of a particular checker is accepted and passed to the analyzer.
This change is mostly done for the upcoming 'config for scan-build' patch when multiple inclusions/exclusions of a checker are expected to be more common.

Details

Committed
ayartsevOct 28 2015, 9:28 AM
Parents
rL251523: [ELF2/AArch64] Add support for R_AARCH64_PREL64.
Branches
Unknown
Tags
Unknown