Skip to content

Commit d678150

Browse files
committed
Disable clang-format for catch.hpp
Do not impose formatting rules on imported code.
1 parent 1ba1e40 commit d678150

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

unit/catch/catch.hpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,9 @@
1313
#error Do not include this file directly, use use_catch.h instead
1414
#endif
1515

16+
// this is imported code, don't impose formatting rules
17+
// clang-format off
18+
1619
#ifndef TWOBLUECUBES_SINGLE_INCLUDE_CATCH_HPP_INCLUDED
1720
#define TWOBLUECUBES_SINGLE_INCLUDE_CATCH_HPP_INCLUDED
1821

@@ -11423,3 +11426,4 @@ using Catch::Detail::Approx;
1142311426

1142411427
#endif // TWOBLUECUBES_SINGLE_INCLUDE_CATCH_HPP_INCLUDED
1142511428

11429+
// clang-format on

0 commit comments

Comments
 (0)