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

SMTChecker: Make innermostTuple return reference #15831

Merged
merged 1 commit into from
Feb 5, 2025

Conversation

blishko
Copy link
Contributor

@blishko blishko commented Feb 5, 2025

Instead of returning a pointer, to indicate that the method always returns a valid value (and does not need a check for null pointer), we can return a reference.

As part of the refactoring, we can actually eliminate one usage of this method.

Instead of returning a pointer, to indicate that the method always
returns a valid value (and does not need a check for null pointer),
we can return a reference.

As part of the refactoring, we can actually eliminate one usage of
this method.
@blishko blishko force-pushed the smt-small-refactoring branch from 2840c30 to f9adfa3 Compare February 5, 2025 07:25
@blishko blishko requested a review from clonker February 5, 2025 08:36
Copy link
Member

@clonker clonker left a comment

Choose a reason for hiding this comment

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

Nice!

@blishko blishko merged commit e935cb6 into develop Feb 5, 2025
74 checks passed
@blishko blishko deleted the smt-small-refactoring branch February 5, 2025 09:58
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