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

Function calculateBitMembers

lib/platform.h:69–77  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

67 }
68
69 void calculateBitMembers() {
70 short_bit = char_bit * sizeof_short;
71 int_bit = char_bit * sizeof_int;
72 long_bit = char_bit * sizeof_long;
73 long_long_bit = char_bit * sizeof_long_long;
74 float_bit = char_bit * sizeof_float;
75 double_bit = char_bit * sizeof_double;
76 long_double_bit = char_bit * sizeof_long_double;
77 }
78
79 /** provides list of defines specified by the limit.h/climits includes */
80 std::string getLimitsDefines(bool c99) const;

Callers 2

setMethod · 0.85
loadFromXmlDocumentMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected