Permalink
Browse files

astyle formatting

  • Loading branch information...
1 parent 7fa73c0 commit 4d06bc086d2a1f6c09da87df2b940468ebc9b3ad @danmar committed Mar 9, 2014
Showing with 8 additions and 4 deletions.
  1. +6 −2 lib/token.h
  2. +2 −2 test/testtokenize.cpp
View
@@ -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
@@ -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"
"}"

0 comments on commit 4d06bc0

Please sign in to comment.