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

[DDMD] [refactor] Move inlineScan into a visitor class in inline.c #3164

Merged
merged 3 commits into from Feb 2, 2014

Conversation

yebblies
Copy link
Member

No description provided.

public:
FuncDeclaration *parent; // function being scanned
Statement *result;
Expression *eresult;
Copy link

Choose a reason for hiding this comment

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

Can you document these two fields? I haven't kept up to date with the whole visitor introduction to DMD.

Copy link
Member Author

Choose a reason for hiding this comment

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

Because visit can't return anything, these are temp variables to bounce the result through. I'll put that in a comment.

@ghost
Copy link

ghost commented Feb 1, 2014

LGTM other than my comments.

return e;
}

void UnitTestDeclaration::inlineScan()
Copy link
Member Author

Choose a reason for hiding this comment

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

It came from here - no semantics change.

@yebblies
Copy link
Member Author

yebblies commented Feb 1, 2014

Updated.

@ghost
Copy link

ghost commented Feb 1, 2014

I'd hit the automerge button but I can't until the tester starts. There should be an option to schedule an automerge rather than have to randomly check when the tester starts running. :>

@yebblies
Copy link
Member Author

yebblies commented Feb 1, 2014

Hmm, the tester does seem a little troubled today.

@yebblies
Copy link
Member Author

yebblies commented Feb 2, 2014

Autotester is back up.

@yebblies
Copy link
Member Author

yebblies commented Feb 2, 2014

Auto-merge toggled on

yebblies added a commit that referenced this pull request Feb 2, 2014
[DDMD] [refactor] Move inlineScan into a visitor class in inline.c
@yebblies yebblies merged commit 0a445b1 into dlang:master Feb 2, 2014
@yebblies yebblies deleted the inlinescan branch February 2, 2014 03:17
@yebblies yebblies added the DDMD label Jul 28, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant