From 7035d4cdd22f6cfe69068dd6b346f07919c02fcd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Marjam=C3=A4ki?= Date: Sun, 30 Oct 2011 17:41:05 +0100 Subject: [PATCH] astyle formatting --- lib/checkuninitvar.cpp | 2 +- test/testconstructors.cpp | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/lib/checkuninitvar.cpp b/lib/checkuninitvar.cpp index e4d982d3a..e2f02b915 100644 --- a/lib/checkuninitvar.cpp +++ b/lib/checkuninitvar.cpp @@ -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; diff --git a/test/testconstructors.cpp b/test/testconstructors.cpp index 927b47c34..a4298b0c7 100644 --- a/test/testconstructors.cpp +++ b/test/testconstructors.cpp @@ -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"