MCPcopy Create free account
hub / github.com/cppcheck-opensource/cppcheck / setEnabled

Method setEnabled

lib/settings.h:88–93  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

86 mFlags &= ~(group.intValue());
87 }
88 void setEnabled(T flag, bool enabled) {
89 if (enabled)
90 enable(flag);
91 else
92 disable(flag);
93 }
94};
95
96

Callers 15

SettingsMethod · 0.80
_checkSuppressionMethod · 0.80
simpleEnableGroupMethod · 0.80
SettingsBuilderClass · 0.80
check_Method · 0.80
check_Method · 0.80
create_settingsFunction · 0.80
updateStyleMethod · 0.80
createCheckboxItemMethod · 0.80
updateAddonCheckBoxFunction · 0.80
checkAllVSConfigsMethod · 0.80
loadFromProjectFileMethod · 0.80

Calls

no outgoing calls

Tested by 4

_checkSuppressionMethod · 0.64
simpleEnableGroupMethod · 0.64
check_Method · 0.64
check_Method · 0.64