Changeset 70a1c3ae for src/GenPoly
- Timestamp:
- Jan 29, 2019, 4:09:59 PM (5 years ago)
- Branches:
- no_list
- Children:
- bee0694
- Parents:
- ede87c6
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/GenPoly/Box.cc
rede87c6 r70a1c3ae 298 298 functionNesting > 0 ? Type::StorageClasses() : Type::StorageClasses( Type::Static ), 299 299 LinkageSpec::AutoGen, layoutFnType, new CompoundStmt(), 300 std:: list< Attribute * >(), Type::FuncSpecifiers( Type::Inline ) );300 std::vector< Attribute * >(), Type::FuncSpecifiers( Type::Inline ) ); 301 301 layoutDecl->fixUniqueId(); 302 302 return layoutDecl; … … 1485 1485 Attribute * aligned = new Attribute( "aligned", std::list<Expression*>{ new ConstantExpr( Constant::from_int(8) ) } ); 1486 1486 return new ArrayType( Type::Qualifiers(), charType, size, 1487 true, false, std:: list<Attribute *>{ aligned } );1487 true, false, std::vector< Attribute * >{ aligned } ); 1488 1488 } 1489 1489 … … 1764 1764 1765 1765 Expression *PolyGenericCalculator::postmutate( SizeofExpr *sizeofExpr ) { 1766 Type *ty = sizeofExpr->get_isType() ? 1766 Type *ty = sizeofExpr->get_isType() ? 1767 1767 sizeofExpr->get_type() : sizeofExpr->get_expr()->get_result(); 1768 1768 1769 1769 Expression * gen = genSizeof( ty ); 1770 1770 if ( gen ) {
Note: See TracChangeset
for help on using the changeset viewer.