- Timestamp:
- Feb 12, 2025, 4:12:04 PM (9 months ago)
- Branches:
- master
- Children:
- c341b57
- Parents:
- 5e8d75bb
- Location:
- src/AST
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
src/AST/Expr.cpp
r5e8d75bb r53f4b55 301 301 // --- OffsetofExpr 302 302 303 OffsetofExpr::OffsetofExpr( const CodeLocation & loc, const Type * ty, const DeclWithType * mem )304 : OffsetofExpr( loc, ty, mem, nullptr ) {}305 306 303 OffsetofExpr::OffsetofExpr( const CodeLocation & loc, const Type * ty, const DeclWithType * mem, const Type * res ) 307 304 : Expr( loc, res ), type( ty ), member( mem ) { … … 324 321 325 322 // --- CommaExpr 323 326 324 bool CommaExpr::get_lvalue() const { 327 325 // This is wrong by C, but the current implementation uses it. -
src/AST/Expr.hpp
r5e8d75bb r53f4b55 539 539 readonly<DeclWithType> member; 540 540 541 OffsetofExpr( const CodeLocation & loc, const Type * ty, const DeclWithType * mem );542 541 OffsetofExpr( const CodeLocation & loc, const Type * ty, const DeclWithType * mem, const Type * res ); 543 542
Note:
See TracChangeset
for help on using the changeset viewer.