fix assertion in is_template() of class_definition
do not analyze class template definitions