diff --git a/chore/llcppg/ast/ast.go b/chore/llcppg/ast/ast.go index 9b18f3fc..c8ff0bdc 100644 --- a/chore/llcppg/ast/ast.go +++ b/chore/llcppg/ast/ast.go @@ -159,11 +159,18 @@ func (*PointerType) exprNode() {} // ------------------------------------------------ // X& -type ReferenceType struct { +type LvalueRefType struct { X Expr } -func (*ReferenceType) exprNode() {} +func (*LvalueRefType) exprNode() {} + +// X&& +type RvalueRefType struct { + X Expr +} + +func (*RvalueRefType) exprNode() {} // ------------------------------------------------