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

Function set

lib/analyzer.h:61–63  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

59 };
60
61 void set(unsigned int f, bool state = true) {
62 mFlag = state ? mFlag | f : mFlag & ~f;
63 }
64
65 bool get(unsigned int f) const {
66 return ((mFlag & f) != 0);

Callers 15

MT-Unsafe.pyFile · 0.85
man_searchFunction · 0.85
PlatformMethod · 0.85
setMethod · 0.85
analyzer.hFile · 0.85
cppcheck_exFunction · 0.85
test_sarif_rule_coverageFunction · 0.85

Calls

no outgoing calls

Tested by 6

cppcheck_exFunction · 0.68
test_sarif_rule_coverageFunction · 0.68