Changes in / [2de175ce:da0edec]
- File:
-
- 1 edited
-
src/Validate/LinkReferenceToTypes.cpp (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/Validate/LinkReferenceToTypes.cpp
r2de175ce rda0edec 84 84 // Just linking in the node. 85 85 auto mut = ast::mutate( type ); 86 mut->base = decl;86 mut->base = const_cast<ast::EnumDecl *>( decl ); 87 87 type = mut; 88 88 } … … 101 101 // Just linking in the node. 102 102 auto mut = ast::mutate( type ); 103 mut->base = decl;103 mut->base = const_cast<ast::StructDecl *>( decl ); 104 104 type = mut; 105 105 } … … 118 118 // Just linking in the node. 119 119 auto mut = ast::mutate( type ); 120 mut->base = decl;120 mut->base = const_cast<ast::UnionDecl *>( decl ); 121 121 type = mut; 122 122 } … … 141 141 142 142 // Just linking in the node. 143 mut->base = decl;143 mut->base = const_cast<ast::TraitDecl *>( decl ); 144 144 145 145 // Need to carry over the 'sized' status of each decl in the instance. … … 203 203 } 204 204 205 // The following section 206 205 207 ForwardEnumsType::iterator fwds = forwardEnums.find( decl->name ); 206 208 if ( fwds != forwardEnums.end() ) {
Note:
See TracChangeset
for help on using the changeset viewer.