0
0
mirror of https://github.com/zeromq/libzmq.git synced 2025-01-16 20:41:18 +08:00

Problem: tweetnacl is external code and clang-format parses it

Solution: add pragma to make clang-format ignore the external code
This commit is contained in:
Luca Boccassi 2018-03-10 12:43:34 +00:00
parent 4726f7262d
commit fef99d6c50

View File

@ -44,6 +44,8 @@
# pragma warning (disable:4018 4244 4146)
#endif
// clang-format off
#include "tweetnacl.h"
#define FOR(i,n) for (i = 0;i < n;++i)
@ -986,3 +988,4 @@ int sodium_init (void)
#endif
#endif
// clang-format on