Skip to content

Commit 3bc71f9

Browse files
authored
enabled "debug" findings in self-check / split "simplifyUsing" and "simplyTypedef" from more generic "debug" (danmar#3210)
1 parent 5568ac9 commit 3bc71f9

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

.travis_suppressions

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@ bitwiseOnBoolean
88
# temporary suppressions - fix the warnings!
99
unusedPrivateFunction:test/test*.cpp
1010
useStlAlgorithm
11+
simplifyUsing:lib/valueptr.h
1112

1213
# debug suppressions
1314
valueFlowBailout
1415
valueFlowBailoutIncompleteVar
15-
debug
1616
varid0
1717
autoNoType
1818
bailoutUninitVar

lib/tokenize.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -377,7 +377,7 @@ void Tokenizer::unsupportedTypedef(const Token *tok) const
377377
if (tok)
378378
str << " ;";
379379

380-
reportError(tok1, Severity::debug, "debug",
380+
reportError(tok1, Severity::debug, "simplifyTypedef",
381381
"Failed to parse \'" + str.str() + "\'. The checking continues anyway.");
382382
}
383383

@@ -2604,7 +2604,7 @@ bool Tokenizer::simplifyUsing()
26042604
}
26052605
str += " ;";
26062606
std::list<const Token *> callstack(1, usingStart);
2607-
mErrorLogger->reportErr(ErrorMessage(callstack, &list, Severity::debug, "debug",
2607+
mErrorLogger->reportErr(ErrorMessage(callstack, &list, Severity::debug, "simplifyUsing",
26082608
"Failed to parse \'" + str + "\'. The checking continues anyway.", Certainty::normal));
26092609
}
26102610
}

0 commit comments

Comments
 (0)