Skip to content

Commit ce9c8f1

Browse files
authored
Merge pull request #3411 from tautschnig/miniz-no-clang-format
Disable clang-format for imported miniz code [blocks: #2548]
2 parents b2456ed + 252fe69 commit ce9c8f1

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

jbmc/src/miniz/miniz.cpp

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

27+
// this is imported code, don't impose formatting rules
28+
// clang-format off
29+
2730
#ifdef _MSC_VER
2831
#pragma warning(disable:4548)
2932
// expression before comma has no effect
@@ -7194,3 +7197,4 @@ mz_bool mz_zip_end(mz_zip_archive *pZip)
71947197
#ifdef __cplusplus
71957198
}
71967199
#endif
7200+
// clang-format on

0 commit comments

Comments
 (0)