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

Style and include fixes #2

Merged
merged 3 commits into from
May 21, 2019
Merged

Style and include fixes #2

merged 3 commits into from
May 21, 2019

Conversation

mmcgr
Copy link

@mmcgr mmcgr commented May 17, 2019

Since I've spent way too much time in the past filtering out the less useful iwyu includes...

Also added a fix so it compiles after the merge.

@@ -478,7 +478,7 @@ class AstRecordInit : public AstArgument {
public:
AstRecordInit() = default;

AstRecordInit(const AstTypeIdentifier& type) : type(type) {}
AstRecordInit(AstTypeIdentifier type) : type(std::move(type)) {}
Copy link
Owner

Choose a reason for hiding this comment

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

Why is this preferred? Just better style or?

@azreika
Copy link
Owner

azreika commented May 21, 2019

Thanks for this!

@azreika azreika merged commit 4fd2e67 into azreika:typesystem May 21, 2019
@mmcgr mmcgr deleted the typesystem branch May 21, 2019 05:25
azreika pushed a commit that referenced this pull request Dec 8, 2020
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