Skip to content

Commit

Permalink
Format.
Browse files Browse the repository at this point in the history
  • Loading branch information
ColinH committed Feb 10, 2018
1 parent 82d31b2 commit 7b62b6f
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 16 deletions.
2 changes: 1 addition & 1 deletion .clang-format
@@ -1,6 +1,6 @@
# the official .clang-format style for https://github.com/taocpp
#
# clang-format-5.0 -i -style=file $(find -name '[^.]*.[hc]pp')
# clang-format-5.0 -i -style=file $(find . -name '[^.]*.[hc]pp')

Language: Cpp
Standard: Cpp11
Expand Down
30 changes: 15 additions & 15 deletions src/test/pegtl/test.hpp
Expand Up @@ -51,21 +51,21 @@ namespace tao
} \
} while( false )

#define TAOCPP_PEGTL_TEST_THROWS( ... ) \
do { \
try { \
__VA_ARGS__; \
std::cerr << "pegtl: unit test [ " \
<< ( #__VA_ARGS__ ) \
<< " ] did not throw in line [ " \
<< __LINE__ \
<< " ] file [ " \
<< __FILE__ << " ]" \
<< std::endl; \
++failed; \
} \
catch( ... ) { \
} \
#define TAOCPP_PEGTL_TEST_THROWS( ... ) \
do { \
try { \
__VA_ARGS__; \
std::cerr << "pegtl: unit test [ " \
<< ( #__VA_ARGS__ ) \
<< " ] did not throw in line [ " \
<< __LINE__ \
<< " ] file [ " \
<< __FILE__ << " ]" \
<< std::endl; \
++failed; \
} \
catch( ... ) { \
} \
} while( false )

namespace tao
Expand Down

0 comments on commit 7b62b6f

Please sign in to comment.