summaryrefslogtreecommitdiff
path: root/.clang-format
diff options
context:
space:
mode:
authorEd Tanous <ed.tanous@intel.com>2017-04-25 03:01:32 +0300
committerEd Tanous <ed.tanous@intel.com>2017-04-25 03:01:32 +0300
commit9140a674ac06c3d40e78557b69cba8e5d2b6c72a (patch)
treece14759e7b3f82ab6bb3a2c82b06617620fb1d8b /.clang-format
parent01250f2a144846b493cf5cf8f5311b1bf3fe6c19 (diff)
downloadbmcweb-9140a674ac06c3d40e78557b69cba8e5d2b6c72a.tar.xz
incremental
Diffstat (limited to '.clang-format')
-rw-r--r--.clang-format13
1 files changed, 11 insertions, 2 deletions
diff --git a/.clang-format b/.clang-format
index 17d370f05a..113030c683 100644
--- a/.clang-format
+++ b/.clang-format
@@ -47,12 +47,21 @@ DisableFormat: false
ExperimentalAutoDetectBinPacking: false
ForEachMacros: [ foreach, Q_FOREACH, BOOST_FOREACH ]
IncludeCategories:
+
+ - Regex: '^[<"](crow)'
+ Priority: 5
+ - Regex: '^[<"](boost)'
+ Priority: 6
+ - Regex: '^[<"](gtest|gmock)'
+ Priority: 7
- Regex: '^<.*\.h>'
Priority: 1
- - Regex: '^<.*'
+ - Regex: '^<.*\.hpp>'
Priority: 2
- - Regex: '.*'
+ - Regex: '^<.*'
Priority: 3
+ - Regex: '.*'
+ Priority: 4
IndentCaseLabels: true
IndentWidth: 2
IndentWrappedFunctionNames: false