astyle formatting

This commit is contained in:
Daniel Marjamäki 2011-01-16 09:57:56 +01:00
parent 8fa26fbd28
commit 8ef47dc576
1 changed files with 6 additions and 6 deletions

View File

@ -920,13 +920,13 @@ Token *CheckMemoryLeakInFunction::getcode(const Token *tok, std::list<const Toke
break; break;
} }
if (tok2->varId() == varid || if (tok2->varId() == varid ||
tok2->str() == ":") tok2->str() == ":")
{ {
break; break;
} }
} }
if (skipToToken) if (skipToToken)
{ {
tok = skipToToken; tok = skipToToken;
@ -1112,9 +1112,9 @@ Token *CheckMemoryLeakInFunction::getcode(const Token *tok, std::list<const Toke
callstack.pop_back(); callstack.pop_back();
} }
dealloctype = dealloc; dealloctype = dealloc;
if (tok->strAt(2) == "(") if (tok->strAt(2) == "(")
tok = tok->tokAt(2)->link(); tok = tok->tokAt(2)->link();
continue; continue;
} }
} }
@ -1320,7 +1320,7 @@ Token *CheckMemoryLeakInFunction::getcode(const Token *tok, std::list<const Toke
} }
addtoken(&rettail, tok, "loop"); addtoken(&rettail, tok, "loop");
if (varid > 0) if (varid > 0)
{ {
unsigned int parlevel2 = 0; unsigned int parlevel2 = 0;
@ -1342,7 +1342,7 @@ Token *CheckMemoryLeakInFunction::getcode(const Token *tok, std::list<const Toke
} }
} }
} }
continue; continue;
} }
if ((tok->str() == "do")) if ((tok->str() == "do"))