Skip to content

Commit 965f725

Browse files
committed
templatesimplifier.h: fixed unusedFunction selfcheck warning
1 parent ff4cbce commit 965f725

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/templatesimplifier.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -263,6 +263,7 @@ class CPPCHECKLIB TemplateSimplifier {
263263
* @return last token of declaration or nullptr if syntax error
264264
*/
265265
static Token *findTemplateDeclarationEnd(Token *tok);
266+
// cppcheck-suppress unusedFunction - used in tests only
266267
static const Token *findTemplateDeclarationEnd(const Token *tok);
267268

268269
protected:

0 commit comments

Comments
 (0)