Astyle run, no functional change.
This commit is contained in:
parent
be9a566d48
commit
face976e11
|
@ -1241,7 +1241,7 @@ bool TemplateSimplifier::simplifyTemplateInstantiations(
|
||||||
if (_settings->debugwarnings && errorlogger) {
|
if (_settings->debugwarnings && errorlogger) {
|
||||||
std::list<const Token *> callstack(1, tok);
|
std::list<const Token *> callstack(1, tok);
|
||||||
errorlogger->reportErr(ErrorLogger::ErrorMessage(callstack, &tokenlist, Severity::debug, "debug",
|
errorlogger->reportErr(ErrorLogger::ErrorMessage(callstack, &tokenlist, Severity::debug, "debug",
|
||||||
"Failed to instantiate template. The checking continues anyway.", false));
|
"Failed to instantiate template. The checking continues anyway.", false));
|
||||||
}
|
}
|
||||||
if (typeForNewName.empty())
|
if (typeForNewName.empty())
|
||||||
continue;
|
continue;
|
||||||
|
|
|
@ -1519,7 +1519,7 @@ void Tokenizer::simplifyTypedef()
|
||||||
void Tokenizer::simplifyMulAndParens()
|
void Tokenizer::simplifyMulAndParens()
|
||||||
{
|
{
|
||||||
if (!list.front())
|
if (!list.front())
|
||||||
return;
|
return;
|
||||||
for (Token *tok = list.front()->tokAt(3); tok; tok = tok->next()) {
|
for (Token *tok = list.front()->tokAt(3); tok; tok = tok->next()) {
|
||||||
if (tok->isName()) {
|
if (tok->isName()) {
|
||||||
//fix ticket #2784 - improved by ticket #3184
|
//fix ticket #2784 - improved by ticket #3184
|
||||||
|
|
Loading…
Reference in New Issue