- Timestamp:
- Feb 13, 2025, 5:52:15 PM (11 months ago)
- Branches:
- master
- Children:
- ef9f11c
- Parents:
- 502ff9e (diff), 53f4b55 (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. - Location:
- src/AST
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
src/AST/Expr.cpp
r502ff9e rc341b57 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
r502ff9e rc341b57 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.