From f57e875351ca3bc25bee0f05fa50f760f32f8781 Mon Sep 17 00:00:00 2001 From: orbitcowboy Date: Mon, 23 Jun 2014 11:59:14 +0200 Subject: [PATCH] Astyle run; Extended std.cfg and avr.cfg about a few more functions. --- cfg/avr.cfg | 43 +++++++++++++++++++++++++++++++++++++++- cfg/std.cfg | 33 ++++++++++++++++++++---------- test/testnullpointer.cpp | 2 +- 3 files changed, 65 insertions(+), 13 deletions(-) diff --git a/cfg/avr.cfg b/cfg/avr.cfg index e93db947d..430f0d739 100644 --- a/cfg/avr.cfg +++ b/cfg/avr.cfg @@ -120,13 +120,54 @@ + + - + + + + + + false + + + + + + + false + + + + + + false + + + + + false + + + + + false + + + + + false + + + + + + diff --git a/cfg/std.cfg b/cfg/std.cfg index a68383221..fc3c3667f 100644 --- a/cfg/std.cfg +++ b/cfg/std.cfg @@ -38,7 +38,8 @@ false false false - false + false + false false @@ -202,7 +203,15 @@ false - + + + + + + false + + + false @@ -282,17 +291,19 @@ 0,2:36 - false - false - false - false - false + false + false + false + false + false + false + false - false - false + false + false - false - false + false + false diff --git a/test/testnullpointer.cpp b/test/testnullpointer.cpp index 2c122aac5..ed98f3456 100644 --- a/test/testnullpointer.cpp +++ b/test/testnullpointer.cpp @@ -2105,7 +2105,7 @@ private: TODO_ASSERT_EQUALS("[test.cpp:3] -> [test.cpp:2]: (warning) Possible null pointer dereference: p - otherwise it is redundant to check it against null.\n" "[test.cpp:4] -> [test.cpp:2]: (warning) Possible null pointer dereference: p - otherwise it is redundant to check it against null.\n" "[test.cpp:5] -> [test.cpp:2]: (warning) Possible null pointer dereference: p - otherwise it is redundant to check it against null.\n" - "[test.cpp:6] -> [test.cpp:2]: (warning) Possible null pointer dereference: p - otherwise it is redundant to check it against null.\n", + "[test.cpp:6] -> [test.cpp:2]: (warning) Possible null pointer dereference: p - otherwise it is redundant to check it against null.\n", "[test.cpp:3] -> [test.cpp:2]: (warning) Possible null pointer dereference: p - otherwise it is redundant to check it against null.\n" "[test.cpp:4] -> [test.cpp:2]: (warning) Possible null pointer dereference: p - otherwise it is redundant to check it against null.\n", errout.str());