We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1a2d574 commit 797b447Copy full SHA for 797b447
.clang-format
@@ -0,0 +1,30 @@
1
+---
2
+Language: Cpp
3
+BasedOnStyle: Google
4
+IndentWidth: 4
5
+FixNamespaceComments: true
6
+ColumnLimit: 100
7
+SpacesBeforeTrailingComments: 2
8
+AccessModifierOffset: -3
9
+
10
+IncludeBlocks: Regroup
11
+# Force pointers to the type for C++.
12
+DerivePointerAlignment: false
13
+PointerAlignment: Right
14
+Standard: c++17
15
+IncludeCategories:
16
+ # Matches common headers first and sorts them before project includes
17
+ - Regex: '^<.+/.*\.h>'
18
+ Priority: 2000
19
+ - Regex: "^<.+/.*>"
20
+ Priority: 4000
21
+ - Regex: '^<.*\.h>'
22
+ Priority: 1000
23
+ - Regex: "^<.*>"
24
+ Priority: 3000
25
+ - Regex: "testgen/.*"
26
+ Priority: 6000
27
+ - Regex: ".*"
28
+ Priority: 5000
29
+IncludeIsMainRegex: '(_test)?$'
30
+...
0 commit comments