astyle formatting

This commit is contained in:
Daniel Marjamäki 2011-11-20 16:50:41 +01:00
parent 91713ffe84
commit b26811cdf5
2 changed files with 2 additions and 2 deletions

View File

@ -875,7 +875,7 @@ void CheckBufferOverrun::checkScope(const Token *tok, const std::vector<std::str
// just taking the address?
const bool addr(tok3 && (Token::simpleMatch(tok3, "&") ||
Token::simpleMatch(tok3->previous(), "& (")));
Token::simpleMatch(tok3->previous(), "& (")));
// taking address of 1 past end?
if (addr && totalIndex == totalElements)

View File

@ -3030,7 +3030,7 @@ private:
"1: struct evt ; void f ( const evt & event@1 ) ;\n",
tokenizeDebugListing(code2));
}
void varid42() {
const std::string code("namespace fruit { struct banana {}; };\n"
"class Fred {\n"