Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

llcppg/ast:rvalue reference #733

Merged
merged 1 commit into from
Aug 21, 2024
Merged

Conversation

luoliwoshang
Copy link
Contributor

No description provided.

Copy link

codecov bot commented Aug 20, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 97.56%. Comparing base (7eeca21) to head (e3fefde).
Report is 13 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #733   +/-   ##
=======================================
  Coverage   97.56%   97.56%           
=======================================
  Files          19       19           
  Lines        4648     4648           
=======================================
  Hits         4535     4535           
  Misses         96       96           
  Partials       17       17           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@@ -158,9 +158,11 @@ func (*PointerType) exprNode() {}

// ------------------------------------------------

// X&
// X& (lvalue)
// X&& (rvalue)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这是两个完全不同的类型,没必要用同一个类型。如果要合并,那么 PointerType 也需要合并过来。

  • PointerType
  • LvalueRefType
  • RvalueRefType

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这是两个完全不同的类型,没必要用同一个类型。如果要合并,那么 PointerType 也需要合并过来。

  • PointerType
  • LvalueRefType
  • RvalueRefType

Updated

@xushiwei xushiwei merged commit 3c4fbdb into goplus:main Aug 21, 2024
5 checks passed
@luoliwoshang luoliwoshang deleted the llcppg/ast/refertype branch August 22, 2024 01:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants