cppcheckError: Rephrazed the error message. The 'internal error' sounds like something dangerous happens that needs to be fixed. So I think 'analysis failed' is better. If the code has a syntax error then 'analysis failed' is entirely ok.
This commit is contained in:
parent
7f67438d99
commit
5dea79a07d
|
@ -8136,7 +8136,7 @@ void Tokenizer::cppcheckError(const Token *tok) const
|
||||||
|
|
||||||
const ErrorLogger::ErrorMessage errmsg(locationList,
|
const ErrorLogger::ErrorMessage errmsg(locationList,
|
||||||
Severity::error,
|
Severity::error,
|
||||||
"### Internal error in Cppcheck. Please report it.",
|
"Analysis failed. If the code is valid then please report this failure.",
|
||||||
"cppcheckError");
|
"cppcheckError");
|
||||||
|
|
||||||
if (_errorLogger)
|
if (_errorLogger)
|
||||||
|
|
Loading…
Reference in New Issue