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:
parent
4726f7262d
commit
fef99d6c50
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user