forked from OSchip/llvm-project
[analyzer] Allow all checkers of a group to be enabled.
llvm-svn: 128512
This commit is contained in:
parent
437758cbe6
commit
84d7907797
|
@ -138,8 +138,9 @@ static void collectCheckers(const CheckNameOption *checkName,
|
|||
|
||||
if (const short *member = checkName->Members) {
|
||||
if (enable) {
|
||||
if (collectHidden || !StaticCheckerInfo[*member].Hidden)
|
||||
checkers.insert(&StaticCheckerInfo[*member]);
|
||||
for (; *member != -1; ++member)
|
||||
if (collectHidden || !StaticCheckerInfo[*member].Hidden)
|
||||
checkers.insert(&StaticCheckerInfo[*member]);
|
||||
} else {
|
||||
for (; *member != -1; ++member)
|
||||
checkers.erase(&StaticCheckerInfo[*member]);
|
||||
|
|
Loading…
Reference in New Issue