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
Conversation
public: | ||
FuncDeclaration *parent; // function being scanned | ||
Statement *result; | ||
Expression *eresult; |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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.
LGTM other than my comments. |
return e; | ||
} | ||
|
||
void UnitTestDeclaration::inlineScan() |
There was a problem hiding this comment.
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.
Updated. |
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. :> |
Hmm, the tester does seem a little troubled today. |
Autotester is back up. |
Auto-merge toggled on |
[DDMD] [refactor] Move inlineScan into a visitor class in inline.c
No description provided.