first batch of cppcheck disables and a few more stl-ifications,

involving use of accumulate() .
This commit is contained in:
G.E
2024-05-16 23:01:17 +03:00
parent 5ebc19674c
commit d78cfb922e
29 changed files with 81 additions and 12 deletions

View File

@@ -251,6 +251,7 @@ void checkForMultilineStart(ReportManager &rm, NGHolder &g,
static
bool hasAssertVertices(const NGHolder &g) {
// cppcheck-suppress useStlAlgorithm
for (auto v : vertices_range(g)) {
int flags = g[v].assert_flags;
if (flags & WORDBOUNDARY_FLAGS) {