Merge pull request #733 from luoliwoshang/llcppg/ast/refertype

llcppg/ast:rvalue reference
This commit is contained in:
xushiwei
2024-08-22 05:40:39 +08:00
committed by GitHub

View File

@@ -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() {}
// ------------------------------------------------