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!
|
# 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
|
||||||
|
|
|
@ -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));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue