Skip to content

Commit 0ebe5f4

Browse files
tautschnigDaniel Kroening
authored and
Daniel Kroening
committed
Use .clang-format-ignore
Remove previously added clang-format {off,on} markers from imported code, and add optional.hpp to the list as well.
1 parent e4af3bf commit 0ebe5f4

File tree

3 files changed

+3
-9
lines changed

3 files changed

+3
-9
lines changed

.clang-format-ignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
jbmc/src/miniz/miniz.cpp
2+
src/nonstd/optional.hpp
3+
unit/catch/catch.hpp

jbmc/src/miniz/miniz.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,6 @@
2424
*
2525
**************************************************************************/
2626

27-
// this is imported code, don't impose formatting rules
28-
// clang-format off
29-
3027
#ifdef _MSC_VER
3128
// conversion warnings
3229
#pragma warning(disable:4242)
@@ -7208,4 +7205,3 @@ mz_bool mz_zip_end(mz_zip_archive *pZip)
72087205
#ifdef __cplusplus
72097206
}
72107207
#endif
7211-
// clang-format on

unit/catch/catch.hpp

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,6 @@
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-
1916
#ifndef TWOBLUECUBES_SINGLE_INCLUDE_CATCH_HPP_INCLUDED
2017
#define TWOBLUECUBES_SINGLE_INCLUDE_CATCH_HPP_INCLUDED
2118
// start catch.hpp
@@ -14367,5 +14364,3 @@ using Catch::Detail::Approx;
1436714364
// end catch_reenable_warnings.h
1436814365
// end catch.hpp
1436914366
#endif // TWOBLUECUBES_SINGLE_INCLUDE_CATCH_HPP_INCLUDED
14370-
14371-
// clang-format on

0 commit comments

Comments
 (0)