split `templateInstantiation` from `debug` warnings (#4933)
This commit is contained in:
parent
5be8eee943
commit
ba168474f2
|
@ -3154,7 +3154,7 @@ bool TemplateSimplifier::simplifyTemplateInstantiations(
|
||||||
(!typeParametersInDeclaration.empty() && !instantiateMatch(tok2, typeParametersInDeclaration.size(), templateDeclaration.isVariadic(), nullptr))) {
|
(!typeParametersInDeclaration.empty() && !instantiateMatch(tok2, typeParametersInDeclaration.size(), templateDeclaration.isVariadic(), nullptr))) {
|
||||||
if (printDebug && mErrorLogger) {
|
if (printDebug && mErrorLogger) {
|
||||||
std::list<const Token *> callstack(1, tok2);
|
std::list<const Token *> callstack(1, tok2);
|
||||||
mErrorLogger->reportErr(ErrorMessage(callstack, &mTokenList, Severity::debug, "debug",
|
mErrorLogger->reportErr(ErrorMessage(callstack, &mTokenList, Severity::debug, "templateInstantiation",
|
||||||
"Failed to instantiate template \"" + instantiation.name() + "\". The checking continues anyway.", Certainty::normal));
|
"Failed to instantiate template \"" + instantiation.name() + "\". The checking continues anyway.", Certainty::normal));
|
||||||
}
|
}
|
||||||
if (typeForNewName.empty())
|
if (typeForNewName.empty())
|
||||||
|
@ -3232,7 +3232,7 @@ bool TemplateSimplifier::simplifyTemplateInstantiations(
|
||||||
if (typeForNewName.empty()) {
|
if (typeForNewName.empty()) {
|
||||||
if (printDebug && mErrorLogger) {
|
if (printDebug && mErrorLogger) {
|
||||||
std::list<const Token *> callstack(1, tok2);
|
std::list<const Token *> callstack(1, tok2);
|
||||||
mErrorLogger->reportErr(ErrorMessage(callstack, &mTokenList, Severity::debug, "debug",
|
mErrorLogger->reportErr(ErrorMessage(callstack, &mTokenList, Severity::debug, "templateInstantiation",
|
||||||
"Failed to instantiate template \"" + templateDeclaration.name() + "\". The checking continues anyway.", Certainty::normal));
|
"Failed to instantiate template \"" + templateDeclaration.name() + "\". The checking continues anyway.", Certainty::normal));
|
||||||
}
|
}
|
||||||
return false;
|
return false;
|
||||||
|
|
|
@ -26,7 +26,7 @@ from urllib.parse import urlparse
|
||||||
# Version scheme (MAJOR.MINOR.PATCH) should orientate on "Semantic Versioning" https://semver.org/
|
# Version scheme (MAJOR.MINOR.PATCH) should orientate on "Semantic Versioning" https://semver.org/
|
||||||
# Every change in this script should result in increasing the version number accordingly (exceptions may be cosmetic
|
# Every change in this script should result in increasing the version number accordingly (exceptions may be cosmetic
|
||||||
# changes)
|
# changes)
|
||||||
SERVER_VERSION = "1.3.38"
|
SERVER_VERSION = "1.3.39"
|
||||||
|
|
||||||
OLD_VERSION = '2.10'
|
OLD_VERSION = '2.10'
|
||||||
|
|
||||||
|
@ -102,6 +102,7 @@ def overviewReport() -> str:
|
||||||
html += '<a href="head-simplifyUsingUnmatchedBodyEnd">simplifyUsingUnmatchedBodyEnd</a><br>\n'
|
html += '<a href="head-simplifyUsingUnmatchedBodyEnd">simplifyUsingUnmatchedBodyEnd</a><br>\n'
|
||||||
html += '<a href="head-simplifyUsing">simplifyUsing</a><br>\n'
|
html += '<a href="head-simplifyUsing">simplifyUsing</a><br>\n'
|
||||||
html += '<a href="head-valueFlowMaxIterations">valueFlowMaxIterations</a><br>\n'
|
html += '<a href="head-valueFlowMaxIterations">valueFlowMaxIterations</a><br>\n'
|
||||||
|
html += '<a href="head-templateInstantiation">templateInstantiation</a><br>\n'
|
||||||
#html += '<a href="head-autoNoType">autoNoType</a><br>\n'
|
#html += '<a href="head-autoNoType">autoNoType</a><br>\n'
|
||||||
#html += '<a href="head-valueFlowBailout">valueFlowBailout</a><br>\n'
|
#html += '<a href="head-valueFlowBailout">valueFlowBailout</a><br>\n'
|
||||||
#html += '<a href="head-bailoutUninitVar">bailoutUninitVar</a><br>\n'
|
#html += '<a href="head-bailoutUninitVar">bailoutUninitVar</a><br>\n'
|
||||||
|
|
Loading…
Reference in New Issue