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

Treat array[1] as equivalent to pointer for purposes of -> operator #23

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

chrisstjohn
Copy link

Hi, Glad to see splint has a home at last!

I've been using this tool in my work for a number of years and I've maintained a few fixes and improvements that I'll be offering to the community.

First is this one - to treat an array of length 1 as equivalent to a pointer for the purposes of checking validity of the -> operator.

@bpringlemeir
Copy link
Collaborator

bpringlemeir commented Mar 27, 2021

Sorry, I have started a new job, just at the time frame that this repository was started. It is with a medical device company.
Can/Have you run the tests and check that all of them pass with this patch?
I think it might be good to add a test case for this as well.

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