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
|
ExperimentalAutoDetectBinPacking: false
|
||||||
ForEachMacros: [ foreach, Q_FOREACH, BOOST_FOREACH ]
|
ForEachMacros: [ foreach, Q_FOREACH, BOOST_FOREACH ]
|
||||||
IncludeCategories:
|
IncludeCategories:
|
||||||
- Regex: '^"(llvm|llvm-c|clang|clang-c)/'
|
- Regex: '<.*>'
|
||||||
Priority: 2
|
|
||||||
- Regex: '^(<|"(gtest|isl|json)/)'
|
|
||||||
Priority: 3
|
|
||||||
- Regex: '.*'
|
|
||||||
Priority: 1
|
Priority: 1
|
||||||
|
- Regex: '.*'
|
||||||
|
Priority: 2
|
||||||
IndentCaseLabels: false
|
IndentCaseLabels: false
|
||||||
IndentWidth: 4
|
IndentWidth: 4
|
||||||
IndentWrappedFunctionNames: false
|
IndentWrappedFunctionNames: false
|
||||||
|
@ -21,9 +21,11 @@
|
|||||||
|
|
||||||
#include "design.h"
|
#include "design.h"
|
||||||
#include "chip.h"
|
#include "chip.h"
|
||||||
#include "pybindings.h"
|
|
||||||
#include "emb.h"
|
#include "emb.h"
|
||||||
|
|
||||||
|
// include after design.h/chip.h
|
||||||
|
#include "pybindings.h"
|
||||||
|
|
||||||
// Required to determine concatenated module name (which differs for different archs)
|
// Required to determine concatenated module name (which differs for different archs)
|
||||||
#define PASTER(x, y) x ## _ ## y
|
#define PASTER(x, y) x ## _ ## y
|
||||||
#define EVALUATOR(x, y) PASTER(x,y)
|
#define EVALUATOR(x, y) PASTER(x,y)
|
||||||
|
@ -20,6 +20,8 @@
|
|||||||
|
|
||||||
#include "design.h"
|
#include "design.h"
|
||||||
#include "chip.h"
|
#include "chip.h"
|
||||||
|
|
||||||
|
// include after design.h/chip.h
|
||||||
#include "pybindings.h"
|
#include "pybindings.h"
|
||||||
|
|
||||||
void arch_wrap_python() {
|
void arch_wrap_python() {
|
||||||
|
@ -20,6 +20,8 @@
|
|||||||
|
|
||||||
#include "design.h"
|
#include "design.h"
|
||||||
#include "chip.h"
|
#include "chip.h"
|
||||||
|
|
||||||
|
// include after design.h/chip.h
|
||||||
#include "pybindings.h"
|
#include "pybindings.h"
|
||||||
|
|
||||||
void arch_wrap_python() {
|
void arch_wrap_python() {
|
||||||
|
Loading…
Reference in New Issue
Block a user