astyle formatting
This commit is contained in:
parent
152ea116fa
commit
0836bf3d33
|
@ -2221,7 +2221,7 @@ void CheckOther::checkDuplicateExpression()
|
||||||
if (assignment)
|
if (assignment)
|
||||||
selfAssignmentError(tok, tok->astOperand1()->expressionString());
|
selfAssignmentError(tok, tok->astOperand1()->expressionString());
|
||||||
else {
|
else {
|
||||||
if (_tokenizer->isCPP() && _settings->standards.cpp==Standards::CPP11 && tok->str() == "==") {
|
if (_tokenizer->isCPP() && _settings->standards.cpp==Standards::CPP11 && tok->str() == "==") {
|
||||||
const Token* parent = tok->astParent();
|
const Token* parent = tok->astParent();
|
||||||
while (parent && parent->astParent()) {
|
while (parent && parent->astParent()) {
|
||||||
parent = parent->astParent();
|
parent = parent->astParent();
|
||||||
|
|
Loading…
Reference in New Issue