From 4d06bc086d2a1f6c09da87df2b940468ebc9b3ad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Marjam=C3=A4ki?= Date: Sun, 9 Mar 2014 08:49:32 +0100 Subject: [PATCH] astyle formatting --- lib/token.h | 8 ++++++-- test/testtokenize.cpp | 4 ++-- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/lib/token.h b/lib/token.h index 72d787dda..9efe540c6 100644 --- a/lib/token.h +++ b/lib/token.h @@ -730,8 +730,12 @@ public: void printAst(bool verbose) const; void printValueFlow() const; - static void isCPP(bool isCPP) { _isCPP = isCPP; } - static bool isCPP() { return _isCPP; } + static void isCPP(bool isCPP) { + _isCPP = isCPP; + } + static bool isCPP() { + return _isCPP; + } }; /// @} diff --git a/test/testtokenize.cpp b/test/testtokenize.cpp index 71a24574e..7de04d6c4 100644 --- a/test/testtokenize.cpp +++ b/test/testtokenize.cpp @@ -3987,8 +3987,8 @@ private: } void varid_cpp_keywords_in_c_code2() { // #5373 - const char code[] = "int clear_extent_bit(struct extent_io_tree *tree, u64 start, u64 end, " - "unsigned long bits, int wake, int delete, struct extent_state **cached_state, " + const char code[] = "int clear_extent_bit(struct extent_io_tree *tree, u64 start, u64 end, " + "unsigned long bits, int wake, int delete, struct extent_state **cached_state, " "gfp_t mask) {\n" " struct extent_state *state;\n" "}"