MCPcopy Create free account
hub / github.com/csmith-project/csmith / doFinalization

Method doFinalization

src/Type.cpp:1982–1993  ·  view source on GitHub ↗

* */

Source from the content-addressed store, hash-verified

1980 *
1981 */
1982void
1983Type::doFinalization(void)
1984{
1985 vector<Type *>::iterator j;
1986 for(j = AllTypes.begin(); j != AllTypes.end(); ++j)
1987 delete (*j);
1988 AllTypes.clear();
1989
1990 for(j = derived_types.begin(); j != derived_types.end(); ++j)
1991 delete (*j);
1992 derived_types.clear();
1993}
1994
1995
1996///////////////////////////////////////////////////////////////////////////////

Callers

nothing calls this directly

Calls 3

beginMethod · 0.80
endMethod · 0.80
clearMethod · 0.45

Tested by

no test coverage detected