Changes in src/SymTab/Mangler.cc [af746cc:0522ebe]
- File:
-
- 1 edited
-
src/SymTab/Mangler.cc (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/SymTab/Mangler.cc
raf746cc r0522ebe 58 58 void postvisit( const ast::OneType * oneType ); 59 59 void postvisit( const ast::QualifiedType * qualType ); 60 void postvisit( const ast::EnumAttrType * posType ); 60 61 void postvisit( const ast::EnumPosType * posType ); 61 62 62 63 /// The result is the current constructed mangled name. … … 280 281 } 281 282 282 void Mangler::postvisit( const ast::EnumAttrType * enumAttr ) { 283 postvisit( enumAttr->instance ); 284 // mangleName += "_pos"; 285 switch ( enumAttr->attr ) 286 { 287 case ast::EnumAttribute::Label: 288 mangleName += "_label_"; 289 break; 290 case ast::EnumAttribute::Posn: 291 mangleName += "_posn_"; 292 break; 293 case ast::EnumAttribute::Value: 294 mangleName += "_value_"; 295 break; 296 } 297 283 void Mangler::postvisit( const ast::EnumPosType * pos ) { 284 postvisit( pos->instance ); 285 mangleName += "_pos"; 298 286 } 299 287
Note:
See TracChangeset
for help on using the changeset viewer.