Changeset 7a780ad for src/CodeGen
- Timestamp:
- Apr 18, 2024, 5:19:17 PM (12 months ago)
- Branches:
- master
- Children:
- 38093ae
- Parents:
- 60c5b6d
- Location:
- src/CodeGen
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified src/CodeGen/FixMain.cc ¶
r60c5b6d r7a780ad 52 52 ast::ObjectDecl * makeIntObj(){ 53 53 return new ast::ObjectDecl( CodeLocation(), "", 54 new ast::BasicType( ast::Basic Type::SignedInt ) );54 new ast::BasicType( ast::BasicKind::SignedInt ) ); 55 55 } 56 56 … … 59 59 new ast::PointerType( 60 60 new ast::PointerType( 61 new ast::BasicType( ast::Basic Type::Char ) ) ) );61 new ast::BasicType( ast::BasicKind::Char ) ) ) ); 62 62 } 63 63 -
TabularUnified src/CodeGen/GenType.cc ¶
r60c5b6d r7a780ad 87 87 88 88 void GenType::postvisit( ast::BasicType const * type ) { 89 ast::Basic Type::Kind kind = type->kind;90 assert( 0 <= kind && kind < ast::Basic Type::NUMBER_OF_BASIC_TYPES );89 ast::BasicKind kind = type->kind; 90 assert( 0 <= kind && kind < ast::BasicKind::NUMBER_OF_BASIC_TYPES ); 91 91 result = std::string( ast::BasicType::typeNames[kind] ) + " " + result; 92 92 handleQualifiers( type );
Note: See TracChangeset
for help on using the changeset viewer.