Skip to content

Commit e18dd0b

Browse files
committed
token.h: avoid unusedFunction selfcheck warning [skip ci]
1 parent cdbea28 commit e18dd0b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/token.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1544,6 +1544,7 @@ class CPPCHECKLIB Token {
15441544
mImpl->mValues = nullptr;
15451545
}
15461546

1547+
// cppcheck-suppress unusedFunction - used in tests only
15471548
std::string astString(const char *sep = "") const {
15481549
std::string ret;
15491550
if (mImpl->mAstOperand1)

0 commit comments

Comments
 (0)