remove double trailing semicolons
This commit is contained in:
parent
f86e83d813
commit
645126fb8e
|
@ -2263,7 +2263,7 @@ void CheckOther::checkVariableScope()
|
||||||
} else if (tok->str() == "}") {
|
} else if (tok->str() == "}") {
|
||||||
--indentlevel;
|
--indentlevel;
|
||||||
if (indentlevel == 0)
|
if (indentlevel == 0)
|
||||||
break;;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (indentlevel > 0 && Token::Match(tok, "[{};]")) {
|
if (indentlevel > 0 && Token::Match(tok, "[{};]")) {
|
||||||
|
|
|
@ -1480,9 +1480,9 @@ void SymbolDatabase::printVariable(const Variable *var, const char *indent) cons
|
||||||
} else
|
} else
|
||||||
std::cout << std::endl;
|
std::cout << std::endl;
|
||||||
std::cout << indent << "_start: " << var->typeStartToken() << " " << var->typeStartToken()->str()
|
std::cout << indent << "_start: " << var->typeStartToken() << " " << var->typeStartToken()->str()
|
||||||
<< " " << _tokenizer->list.fileLine(var->typeStartToken()) << std::endl;;
|
<< " " << _tokenizer->list.fileLine(var->typeStartToken()) << std::endl;
|
||||||
std::cout << indent << "_end: " << var->typeEndToken() << " " << var->typeEndToken()->str()
|
std::cout << indent << "_end: " << var->typeEndToken() << " " << var->typeEndToken()->str()
|
||||||
<< " " << _tokenizer->list.fileLine(var->typeEndToken()) << std::endl;;
|
<< " " << _tokenizer->list.fileLine(var->typeEndToken()) << std::endl;
|
||||||
std::cout << indent << "_index: " << var->index() << std::endl;
|
std::cout << indent << "_index: " << var->index() << std::endl;
|
||||||
std::cout << indent << "_access: " <<
|
std::cout << indent << "_access: " <<
|
||||||
(var->isPublic() ? "Public" :
|
(var->isPublic() ? "Public" :
|
||||||
|
|
Loading…
Reference in New Issue