llcppg/ast:value reference
This commit is contained in:
@@ -159,11 +159,18 @@ func (*PointerType) exprNode() {}
|
|||||||
// ------------------------------------------------
|
// ------------------------------------------------
|
||||||
|
|
||||||
// X&
|
// X&
|
||||||
type ReferenceType struct {
|
type LvalueRefType struct {
|
||||||
X Expr
|
X Expr
|
||||||
}
|
}
|
||||||
|
|
||||||
func (*ReferenceType) exprNode() {}
|
func (*LvalueRefType) exprNode() {}
|
||||||
|
|
||||||
|
// X&&
|
||||||
|
type RvalueRefType struct {
|
||||||
|
X Expr
|
||||||
|
}
|
||||||
|
|
||||||
|
func (*RvalueRefType) exprNode() {}
|
||||||
|
|
||||||
// ------------------------------------------------
|
// ------------------------------------------------
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user