-
Notifications
You must be signed in to change notification settings - Fork 1.5k
fixed #13388 - store active checkers in build dir #7852
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
Conversation
d2d6623 to
4907ae7
Compare
|
No test has been added since it is tested via the |
4907ae7 to
711d3d5
Compare
| // cppcheck-suppress accessMoved - FP | ||
| while (std::getline(fout, line)) | ||
| { | ||
| // cppcheck-suppress accessMoved - FP | ||
| activeCheckers.emplace(std::move(line)); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This code was copied and the false positives are already being tracked in https://trac.cppcheck.net/ticket/11300.
danmar
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍 I am happy with this if the ifstream object is renamed to fin.
cli/cppcheckexecutor.cpp
Outdated
| if (mCheckersFile.empty()) | ||
| return; | ||
|
|
||
| std::ifstream fout(mCheckersFile); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please rename fout to fin
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done.
711d3d5 to
6e78f7b
Compare
|



No description provided.