-
Notifications
You must be signed in to change notification settings - Fork 47
Expand file tree
/
Copy path.clang-format
More file actions
17 lines (17 loc) · 847 Bytes
/
Copy path.clang-format
File metadata and controls
17 lines (17 loc) · 847 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# LibXtract house style. Standard Allman via the Microsoft preset (Allman
# braces, 4-space indent, no tabs, pointer binds to the variable). Only two
# overrides, both substantive rather than cosmetic:
# - SortIncludes: false keeps the manual include grouping (standard library,
# then local/third-party, then project public, then project private).
# - ColumnLimit: 0 normalises braces/indent/spacing but never reflows long
# lines, preserving the Doxygen blocks and hand-laid-out data tables.
---
Language: Cpp
BasedOnStyle: Microsoft
SortIncludes: false
ColumnLimit: 0
# Full Allman with no exception for case labels (Microsoft keeps the brace on
# the case line). Braces are never inserted, only positioned -- a case body
# only carries braces when it needs a scope (e.g. a local declaration).
BraceWrapping:
AfterCaseLabel: true