enabled "debug" findings in self-check / split "simplifyUsing" and "simplyTypedef" from more generic "debug" (#3210)
This commit is contained in:
parent
5568ac95e7
commit
3bc71f982a
|
@ -8,11 +8,11 @@ bitwiseOnBoolean
|
|||
# temporary suppressions - fix the warnings!
|
||||
unusedPrivateFunction:test/test*.cpp
|
||||
useStlAlgorithm
|
||||
simplifyUsing:lib/valueptr.h
|
||||
|
||||
# debug suppressions
|
||||
valueFlowBailout
|
||||
valueFlowBailoutIncompleteVar
|
||||
debug
|
||||
varid0
|
||||
autoNoType
|
||||
bailoutUninitVar
|
||||
|
|
|
@ -377,7 +377,7 @@ void Tokenizer::unsupportedTypedef(const Token *tok) const
|
|||
if (tok)
|
||||
str << " ;";
|
||||
|
||||
reportError(tok1, Severity::debug, "debug",
|
||||
reportError(tok1, Severity::debug, "simplifyTypedef",
|
||||
"Failed to parse \'" + str.str() + "\'. The checking continues anyway.");
|
||||
}
|
||||
|
||||
|
@ -2604,7 +2604,7 @@ bool Tokenizer::simplifyUsing()
|
|||
}
|
||||
str += " ;";
|
||||
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));
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue