Changeset b6f2e7ab for src/AST/Expr.cpp
- Timestamp:
- Sep 9, 2024, 5:15:32 PM (37 hours ago)
- Branches:
- master
- Children:
- f5dbc8d
- Parents:
- 5c6d439
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/AST/Expr.cpp
r5c6d439 rb6f2e7ab 276 276 // --- SizeofExpr 277 277 278 SizeofExpr::SizeofExpr( const CodeLocation & loc, const Expr * e )279 : Expr( loc, new BasicType{ BasicKind::LongUnsignedInt } ), expr( e ), type( nullptr ) {}280 281 278 SizeofExpr::SizeofExpr( const CodeLocation & loc, const Type * t ) 282 : Expr( loc, new BasicType{ BasicKind::LongUnsignedInt } ), expr( nullptr ),type( t ) {}279 : Expr( loc, new BasicType{ BasicKind::LongUnsignedInt } ), type( t ) {} 283 280 284 281 // --- CountExpr … … 292 289 // --- AlignofExpr 293 290 294 AlignofExpr::AlignofExpr( const CodeLocation & loc, const Expr * e )295 : Expr( loc, new BasicType{ BasicKind::LongUnsignedInt } ), expr( e ), type( nullptr ) {}296 297 291 AlignofExpr::AlignofExpr( const CodeLocation & loc, const Type * t ) 298 : Expr( loc, new BasicType{ BasicKind::LongUnsignedInt } ), expr( nullptr ),type( t ) {}292 : Expr( loc, new BasicType{ BasicKind::LongUnsignedInt } ), type( t ) {} 299 293 300 294 // --- OffsetofExpr
Note: See TracChangeset
for help on using the changeset viewer.