-
Couldn't load subscription status.
- Fork 1.5k
Update runformat #7778
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
base: main
Are you sure you want to change the base?
Update runformat #7778
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -145,8 +145,8 @@ void test_BOOST_FOREACH_3(std::vector<int> data) | |
| void test_BOOST_FOREACH_4(std::vector<int> data) | ||
| { | ||
| BOOST_FOREACH(const int& i, data) | ||
| // cppcheck-suppress invalidContainerLoop | ||
| data.clear(); | ||
| // cppcheck-suppress invalidContainerLoop | ||
| data.clear(); | ||
|
Comment on lines
-148
to
+149
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. We should probably add a scope here. |
||
| } | ||
|
|
||
| // Container returned as result of a function -> Be quiet | ||
|
|
@@ -155,7 +155,7 @@ void test_BOOST_FOREACH_5() | |
| { | ||
| std::set<int> data; | ||
| BOOST_FOREACH(const int& i, get_data()) | ||
| data.insert(i); | ||
| data.insert(i); | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. We should add a scope. |
||
| } | ||
|
|
||
| // Break after modification (#4788) | ||
|
|
||
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.
If you remove it here then you also do not need to apply any of the changes.
Also we lack
frontendhere...