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

Class UnionMember

lib/checkother.cpp:4494–4505  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4492static const std::string noname;
4493
4494struct UnionMember {
4495 UnionMember()
4496 : name(noname)
4497 , size(0) {}
4498
4499 UnionMember(const std::string &name, size_t size)
4500 : name(name)
4501 , size(size) {}
4502
4503 const std::string &name;
4504 size_t size;
4505};
4506
4507struct Union {
4508 explicit Union(const Scope &scope)

Callers 2

parseUnionMemberFunction · 0.70
getErrorMessagesMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected