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

Method disable

lib/settings.h:82–84  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

80 mFlags |= group.intValue();
81 }
82 void disable(T flag) {
83 mFlags &= ~(1U << static_cast<uint32_t>(flag));
84 }
85 void disable(SimpleEnableGroup<T> group) {
86 mFlags &= ~(group.intValue());
87 }

Callers 4

parseEnabledMethod · 0.80
applyEnabledMethod · 0.80
parseFromArgsMethod · 0.80
simpleEnableGroupMethod · 0.80

Calls 1

intValueMethod · 0.80

Tested by 1

simpleEnableGroupMethod · 0.64