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

Verify robustness of if statement followed by return (if (<cond>) return) #39

Open
zbeekman opened this issue Feb 5, 2025 · 0 comments

Comments

@zbeekman
Copy link
Member

zbeekman commented Feb 5, 2025

If statements (vs constructs, which are multi line) are probably handled correctly, but their robustness should be checked because certain cases (say if you have a line continuation in the condition) might be problematic for the instrumentor. We do not need to worry about the alternate return form where return is followed by an integer-scalar-expression. (See #32 )

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

No branches or pull requests

1 participant