Skip to content

Commit fd68885

Browse files
author
Your Name
committed
Fix selfcheck
1 parent a26a03f commit fd68885

3 files changed

Lines changed: 2 additions & 2 deletions

File tree

.selfcheck_suppressions

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,8 @@ autoNoType:test/*.cpp
5959
autoNoType:tools/triage/mainwindow.cpp
6060
# ticket 11631
6161
templateInstantiation:test/testutils.cpp
62+
# the "calculate<T, T>(...)" call in the 1-arg overload cannot be instantiated by the template simplifier
63+
templateInstantiation:lib/calculate.h
6264
# used in a member initializer - the check does not see usage there
6365
unusedPrivateFunction:test/testsimplifytemplate.cpp
6466

lib/symboldatabase.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2078,7 +2078,6 @@ void SymbolDatabase::addSymbolsForNewTokenRanges(const std::vector<std::pair<Tok
20782078
createSymbolDatabaseEnums();
20792079
}
20802080

2081-
// cppcheck-suppress functionConst - has side effects
20822081
void SymbolDatabase::setArrayDimensionsUsingValueFlow()
20832082
{
20842083
// set all unknown array dimensions

lib/tokenize.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4003,7 +4003,6 @@ void Tokenizer::arraySize()
40034003
}
40044004
}
40054005

4006-
// cppcheck-suppress functionConst
40074006
void Tokenizer::arraySizeAfterValueFlow()
40084007
{
40094008
// After ValueFlow, adjust array sizes.

0 commit comments

Comments
 (0)