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

Function setBodyStartEnd

lib/symboldatabase.h:1075–1080  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1073 std::vector<Enumerator> enumeratorList;
1074
1075 void setBodyStartEnd(const Token *start) {
1076 bodyStart = start;
1077 bodyEnd = start ? start->link() : nullptr;
1078 if (start)
1079 bodyStartList.push_back(start);
1080 }
1081
1082 bool isAnonymous() const {
1083 // TODO: Check if class/struct is anonymous

Callers 1

ScopeMethod · 0.85

Calls 1

push_backMethod · 0.45

Tested by

no test coverage detected