Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/AST/Expr.cpp

    r857b5f9 r5cc53b2  
    283283: Expr( loc, new BasicType{ BasicKind::LongUnsignedInt } ), type( t ) {}
    284284
     285// --- CountExpr
     286
     287CountExpr::CountExpr( const CodeLocation & loc, const Expr * e )
     288: Expr( loc, new BasicType( BasicKind::LongUnsignedInt) ), expr(e), type( nullptr ) {}
     289
     290CountExpr::CountExpr( const CodeLocation & loc, const Type * t )
     291: Expr( loc, new BasicType( BasicKind::LongUnsignedInt) ), expr(nullptr), type( t ) {}
     292
    285293// --- AlignofExpr
    286294
    287295AlignofExpr::AlignofExpr( const CodeLocation & loc, const Type * t )
    288296: Expr( loc, new BasicType{ BasicKind::LongUnsignedInt } ), type( t ) {}
    289 
    290 // --- CountofExpr
    291 
    292 CountofExpr::CountofExpr( const CodeLocation & loc, const Type * t )
    293 : Expr( loc, new BasicType( BasicKind::LongUnsignedInt) ), type( t ) {}
    294297
    295298// --- OffsetofExpr
Note: See TracChangeset for help on using the changeset viewer.