def remove_declaration(self, decl):
del self.declarations[self.declarations.index(decl)]<EOL>decl.cache.reset()<EOL>
Removes declaration from members list.

:param decl: declaration to be removed
:type decl: :class:`declaration_t`