mirror of
https://github.com/nasa/trick.git
synced 2025-06-14 05:08:22 +00:00
ATTRIBUTES for a member whose type is typedef'd in a template are wrong
I found that in ICG I have access to the canonical type of a variable which in most cases is the type I should process. Doing this eliminates the need for some of the code that resolved typedefs because the canonical type has already done that. refs #200
This commit is contained in:
@ -110,7 +110,7 @@ bool CXXRecordVisitor::TraverseDecl(clang::Decl *d) {
|
||||
|
||||
bool CXXRecordVisitor::VisitDecl(clang::Decl *d) {
|
||||
if ( debug_level >=2 ) {
|
||||
std::cout << "\nCXXRecordVisitor Decl = " << d->getDeclKindName() << std::endl ;
|
||||
std::cout << "\n\033[34mCXXRecordVisitor VisitDecl Decl = " << d->getDeclKindName() << "\033[0m" << std::endl ;
|
||||
}
|
||||
return true ;
|
||||
}
|
||||
|
Reference in New Issue
Block a user