Changeset 7a780ad for src/GenPoly
- Timestamp:
- Apr 18, 2024, 5:19:17 PM (4 months ago)
- Branches:
- master
- Children:
- 38093ae
- Parents:
- 60c5b6d
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/GenPoly/Box.cpp
r60c5b6d r7a780ad 43 43 /// The layout type is used to represent sizes, alignments and offsets. 44 44 ast::BasicType * makeLayoutType() { 45 return new ast::BasicType( ast::Basic Type::LongUnsignedInt );45 return new ast::BasicType( ast::BasicKind::LongUnsignedInt ); 46 46 } 47 47 48 48 /// Fixed version of layout type (just adding a 'C' in C++ style). 49 49 ast::BasicType * makeLayoutCType() { 50 return new ast::BasicType( ast::Basic Type::LongUnsignedInt,50 return new ast::BasicType( ast::BasicKind::LongUnsignedInt, 51 51 ast::CV::Qualifiers( ast::CV::Const ) ); 52 52 } … … 1617 1617 ast::Type * polyToMonoType( CodeLocation const & location, 1618 1618 ast::Type const * declType ) { 1619 auto charType = new ast::BasicType( ast::Basic Type::Char );1619 auto charType = new ast::BasicType( ast::BasicKind::Char ); 1620 1620 auto size = new ast::NameExpr( location, 1621 1621 sizeofName( Mangle::mangleType( declType ) ) );
Note: See TracChangeset
for help on using the changeset viewer.