astyle formatting
This commit is contained in:
parent
91713ffe84
commit
b26811cdf5
|
@ -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)
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue