-
Notifications
You must be signed in to change notification settings - Fork 6
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
Cppcheck may be invoked multiple times while on the fly inspection is in progress #33
Comments
Appears the issue is slightly different than assumed. Has to do with having multiple open projects with open files - see https://youtrack.jetbrains.com/issue/CPP-22881 |
It seems the original issue also persists. I created another ticket with the CLion team - see https://youtrack.jetbrains.com/issue/CPP-22928 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Environment
cppcheck --version
): 1.90Expected behaviour
Cppcheck is run only once per file in case it is not modified.
Actual behaviour
Cppcheck is invoked every time the IDE regains focus.
Steps to reproduce the behaviour
I have a file which takes extremely long to perform the on the fly inspections on (probably some issue causing this) and while the file is still being being running the inspections Cppcheck will be invoked every time the IDE regains focus (unless it is already running). This does not occur when the inspections are complete.
An example would be
valueflow.h
from https://github.com/danmar/cppcheck.The text was updated successfully, but these errors were encountered: