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" "}"