Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

astyle formatting

  • Loading branch information...
commit 4d06bc086d2a1f6c09da87df2b940468ebc9b3ad 1 parent 7fa73c0
@danmar authored
Showing with 8 additions and 4 deletions.
  1. +6 −2 lib/token.h
  2. +2 −2 test/testtokenize.cpp
View
8 lib/token.h
@@ -730,8 +730,12 @@ class CPPCHECKLIB Token {
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;
+ }
};
/// @}
View
4 test/testtokenize.cpp
@@ -3987,8 +3987,8 @@ class TestTokenizer : public TestFixture {
}
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"
"}"
Please sign in to comment.
Something went wrong with that request. Please try again.