Changes in src/AST/Convert.cpp [1931bb01:7edd5c1]
- File:
-
- 1 edited
-
src/AST/Convert.cpp (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/AST/Convert.cpp
r1931bb01 r7edd5c1 168 168 auto attr = get<Attribute>().acceptL( node->attributes ); 169 169 170 // This field can be unset very early on (Pre-FixReturnTypes).171 auto newType = (type) ? type->clone() : nullptr;172 173 170 auto decl = new ObjectDecl( 174 171 node->name, … … 176 173 LinkageSpec::Spec( node->linkage.val ), 177 174 bfwd, 178 newType,175 type->clone(), 179 176 nullptr, // prevent infinite loop 180 177 attr, … … 1582 1579 1583 1580 virtual void visit( const ObjectDecl * old ) override final { 1584 if ( inCache( old ) ) {1585 return;1586 }1587 1581 auto&& type = GET_ACCEPT_1(type, Type); 1588 1582 auto&& init = GET_ACCEPT_1(init, Init); 1589 1583 auto&& bfwd = GET_ACCEPT_1(bitfieldWidth, Expr); 1590 1584 auto&& attr = GET_ACCEPT_V(attributes, Attribute); 1591 1585 if ( inCache( old ) ) { 1586 return; 1587 } 1592 1588 auto decl = new ast::ObjectDecl( 1593 1589 old->location,
Note:
See TracChangeset
for help on using the changeset viewer.