Skip to content

C++: Move InstructionSanity out of Instruction.qll #2994

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

Merged
merged 2 commits into from
Mar 9, 2020

Conversation

jbj
Copy link
Contributor

@jbj jbj commented Mar 5, 2020

Having that module in Instruction.qll slowed down the parsing of that file both humans and the compiler.

This commit moves the InstructionSanity module to IRSanity.qll without making any changes to its contents apart from adding some imports.

Having that module in `Instruction.qll` slowed down the parsing of that
file both humans and the compiler.

This commit moves the `InstructionSanity` module to `IRSanity.qll`
without making any changes to its contents apart from adding some
imports.
@jbj jbj added the C++ label Mar 5, 2020
@jbj jbj requested review from a team as code owners March 5, 2020 11:14
@rdmarsh2
Copy link
Contributor

rdmarsh2 commented Mar 5, 2020

@aschackmull mentioned in another PR that we prefer "consistency" over "sanity" for these sorts of checks. Should we rename these as well?

@jbj
Copy link
Contributor Author

jbj commented Mar 6, 2020

@aschackmull mentioned in another PR that we prefer "consistency" over "sanity" for these sorts of checks. Should we rename these as well?

Yes, I think we should. But I'd prefer making that a separate PR.

I also want to move the "sanity" module out of IRType.qll.

Copy link

@dbartol dbartol left a comment

Choose a reason for hiding this comment

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

LGTM

@dbartol dbartol merged commit 9fae2fa into github:master Mar 9, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants