enabled "debug" findings in self-check / split "simplifyUsing" and "simplyTypedef" from more generic "debug" (#3210)

This commit is contained in:
Oliver Stöneberg 2021-04-17 18:07:47 +02:00 committed by GitHub
parent 5568ac95e7
commit 3bc71f982a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -8,11 +8,11 @@ bitwiseOnBoolean
# temporary suppressions - fix the warnings! # temporary suppressions - fix the warnings!
unusedPrivateFunction:test/test*.cpp unusedPrivateFunction:test/test*.cpp
useStlAlgorithm useStlAlgorithm
simplifyUsing:lib/valueptr.h
# debug suppressions # debug suppressions
valueFlowBailout valueFlowBailout
valueFlowBailoutIncompleteVar valueFlowBailoutIncompleteVar
debug
varid0 varid0
autoNoType autoNoType
bailoutUninitVar bailoutUninitVar

View File

@ -377,7 +377,7 @@ void Tokenizer::unsupportedTypedef(const Token *tok) const
if (tok) if (tok)
str << " ;"; str << " ;";
reportError(tok1, Severity::debug, "debug", reportError(tok1, Severity::debug, "simplifyTypedef",
"Failed to parse \'" + str.str() + "\'. The checking continues anyway."); "Failed to parse \'" + str.str() + "\'. The checking continues anyway.");
} }
@ -2604,7 +2604,7 @@ bool Tokenizer::simplifyUsing()
} }
str += " ;"; str += " ;";
std::list<const Token *> callstack(1, usingStart); std::list<const Token *> callstack(1, usingStart);
mErrorLogger->reportErr(ErrorMessage(callstack, &list, Severity::debug, "debug", mErrorLogger->reportErr(ErrorMessage(callstack, &list, Severity::debug, "simplifyUsing",
"Failed to parse \'" + str + "\'. The checking continues anyway.", Certainty::normal)); "Failed to parse \'" + str + "\'. The checking continues anyway.", Certainty::normal));
} }
} }