diff --git a/.clang-tidy b/.clang-tidy index 29039fb..14a105a 100644 --- a/.clang-tidy +++ b/.clang-tidy @@ -1,2 +1,2 @@ -Checks: 'bugprone-*,-bugprone-macro-parentheses,-bugprone-too-small-loop-variable,cert-*,clang-analyzer-*,readability-*,-readability-inconsistent-declaration-parameter-name,-readability-magic-numbers,-readability-named-parameter' +Checks: 'bugprone-*,-bugprone-macro-parentheses,-bugprone-too-small-loop-variable,cert-*,clang-analyzer-*,readability-*,-readability-inconsistent-declaration-parameter-name,-readability-magic-numbers,-readability-named-parameter,llvm-include-order' WarningsAsErrors: '*' diff --git a/h_malloc.c b/h_malloc.c index 69e1e05..e8a2b9d 100644 --- a/h_malloc.c +++ b/h_malloc.c @@ -3,9 +3,9 @@ #include #include #include +#include #include #include -#include #if __has_include() #include @@ -23,8 +23,8 @@ #include "third_party/libdivide.h" #include "h_malloc.h" -#include "mutex.h" #include "memory.h" +#include "mutex.h" #include "pages.h" #include "random.h" #include "util.h"