diff --git a/chore/llcppg/ast/ast.go b/chore/llcppg/ast/ast.go index ec97fd08..ee5cb725 100644 --- a/chore/llcppg/ast/ast.go +++ b/chore/llcppg/ast/ast.go @@ -169,11 +169,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() {} // ------------------------------------------------