Changeset 3d618a0 for src/AST/Expr.cpp
- Timestamp:
- Sep 9, 2024, 6:16:09 PM (2 months ago)
- Branches:
- master
- Children:
- aa14aafe
- Parents:
- d93b813 (diff), f5dbc8d (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/AST/Expr.cpp
rd93b813 r3d618a0 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.