Fix clang-format include order issues
Signed-off-by: Clifford Wolf <clifford@clifford.at>
This commit is contained in:
parent
8bfeaeaced
commit
2edde06c07
@ -47,12 +47,10 @@ DisableFormat: false
|
||||
ExperimentalAutoDetectBinPacking: false
|
||||
ForEachMacros: [ foreach, Q_FOREACH, BOOST_FOREACH ]
|
||||
IncludeCategories:
|
||||
- Regex: '^"(llvm|llvm-c|clang|clang-c)/'
|
||||
Priority: 2
|
||||
- Regex: '^(<|"(gtest|isl|json)/)'
|
||||
Priority: 3
|
||||
- Regex: '.*'
|
||||
- Regex: '<.*>'
|
||||
Priority: 1
|
||||
- Regex: '.*'
|
||||
Priority: 2
|
||||
IndentCaseLabels: false
|
||||
IndentWidth: 4
|
||||
IndentWrappedFunctionNames: false
|
||||
|
@ -21,9 +21,11 @@
|
||||
|
||||
#include "design.h"
|
||||
#include "chip.h"
|
||||
#include "pybindings.h"
|
||||
#include "emb.h"
|
||||
|
||||
// include after design.h/chip.h
|
||||
#include "pybindings.h"
|
||||
|
||||
// Required to determine concatenated module name (which differs for different archs)
|
||||
#define PASTER(x, y) x ## _ ## y
|
||||
#define EVALUATOR(x, y) PASTER(x,y)
|
||||
|
@ -20,6 +20,8 @@
|
||||
|
||||
#include "design.h"
|
||||
#include "chip.h"
|
||||
|
||||
// include after design.h/chip.h
|
||||
#include "pybindings.h"
|
||||
|
||||
void arch_wrap_python() {
|
||||
|
@ -20,6 +20,8 @@
|
||||
|
||||
#include "design.h"
|
||||
#include "chip.h"
|
||||
|
||||
// include after design.h/chip.h
|
||||
#include "pybindings.h"
|
||||
|
||||
void arch_wrap_python() {
|
||||
|
Loading…
Reference in New Issue
Block a user