astyle formatting

This commit is contained in:
Daniel Marjamäki 2011-10-30 17:41:05 +01:00
parent 71f08d0a66
commit 7035d4cdd2
2 changed files with 2 additions and 3 deletions

View File

@ -703,7 +703,7 @@ private:
}
// function call via function pointer
if (Token::Match(&tok, "( * %var% ) (") ||
if (Token::Match(&tok, "( * %var% ) (") ||
(Token::Match(&tok, "( *| %var% .|::") && Token::Match(tok.link()->tokAt(-2), ".|:: %var% ) ("))) {
// is the variable passed as a parameter to some function?
unsigned int parlevel = 0;

View File

@ -1045,8 +1045,7 @@ private:
ASSERT_EQUALS("[test.cpp:13]: (warning) Member variable 'Fred::ints' is not assigned a value in 'Fred::operator='\n", errout.str());
}
void explicit_constructor()
{
void explicit_constructor() {
check("class Fred\n"
"{\n"
" Fred(int i);\n"