ATTRIBUTES for a member whose type is typedef'd in a template are wrong

Forgot I was experimenting with a short name... undid that.

refs #200
This commit is contained in:
Alex Lin 2016-03-16 13:55:38 -05:00
parent 2703b0d766
commit 683763680b

View File

@ -363,16 +363,10 @@ bool FieldVisitor::VisitTemplateSpecializationType(clang::TemplateSpecialization
std::replace( mangled_name.begin(), mangled_name.end(), '*', '_') ;
CXXRecordVisitor template_spec_cvis(ci , cs, hsd , pa, false, false, true) ;
/*
template_spec_cvis.get_class_data()->setMangledTypeName(fdes->getContainerClass() + "_" +
fdes->getName() + "_" + mangled_name) ;
*/
template_spec_cvis.get_class_data()->setMangledTypeName(mangled_name) ;
template_spec_cvis.TraverseCXXRecordDecl(clang::cast<clang::CXXRecordDecl>(td)) ;
/*
fdes->setMangledTypeName(fdes->getContainerClass() + "_" + fdes->getName() + "_" + mangled_name) ;
*/
fdes->setMangledTypeName(mangled_name) ;
template_spec_cvis.get_class_data()->setName(tst_string) ;
template_spec_cvis.get_class_data()->setFileName(fdes->getFileName()) ;