aboutsummaryrefslogtreecommitdiffstats
path: root/.clang-format
diff options
context:
space:
mode:
authorClifford Wolf <clifford@clifford.at>2018-06-07 12:48:53 +0200
committerClifford Wolf <clifford@clifford.at>2018-06-07 12:48:53 +0200
commit2edde06c07cc3cd58ab156d9598d75e1cff1e7de (patch)
treed31fa85c4b2f8ae681d5c57080b41e12b39e7a96 /.clang-format
parent8bfeaeacedeb09133b8fb157c876fb90f41f5676 (diff)
downloadnextpnr-2edde06c07cc3cd58ab156d9598d75e1cff1e7de.tar.gz
nextpnr-2edde06c07cc3cd58ab156d9598d75e1cff1e7de.tar.bz2
nextpnr-2edde06c07cc3cd58ab156d9598d75e1cff1e7de.zip
Fix clang-format include order issues
Signed-off-by: Clifford Wolf <clifford@clifford.at>
Diffstat (limited to '.clang-format')
-rw-r--r--.clang-format8
1 files changed, 3 insertions, 5 deletions
diff --git a/.clang-format b/.clang-format
index d825df6f..8b3158bb 100644
--- a/.clang-format
+++ b/.clang-format
@@ -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