enable llvm-include-order tidy check

pull/103/head
Daniel Micay 2019-08-18 02:39:55 -04:00
parent 3c67708c3a
commit d37657e125
2 changed files with 3 additions and 3 deletions

View File

@ -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: '*' WarningsAsErrors: '*'

View File

@ -3,9 +3,9 @@
#include <inttypes.h> #include <inttypes.h>
#include <stdatomic.h> #include <stdatomic.h>
#include <stdbool.h> #include <stdbool.h>
#include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
#include <string.h> #include <string.h>
#include <stdio.h>
#if __has_include(<threads.h>) #if __has_include(<threads.h>)
#include <threads.h> #include <threads.h>
@ -23,8 +23,8 @@
#include "third_party/libdivide.h" #include "third_party/libdivide.h"
#include "h_malloc.h" #include "h_malloc.h"
#include "mutex.h"
#include "memory.h" #include "memory.h"
#include "mutex.h"
#include "pages.h" #include "pages.h"
#include "random.h" #include "random.h"
#include "util.h" #include "util.h"