blob: 384832b02dec94f9d170775e64a8478dad0c23e4 [file] [log] [blame]
Comran Morshedf4520e22016-01-18 16:36:28 +00001---
2BasedOnStyle: Google
3---
4Language: Cpp
5# Force pointers to the type for C++.
6DerivePointerAlignment: false
7PointerAlignment: Right
8Standard: Cpp11
Philipp Schraderaa76a692022-05-29 23:55:16 -07009IncludeCategories:
Philipp Schrader790cb542023-07-05 21:06:52 -070010 # Force some headers to be considered third-party headers.
11 - Regex: '^<(cxx|Halide|HalidBuffer|lzma|node|v8|osqp|oscqp\+\+|snappy|snappy-sinksource).h>$'
Philipp Schraderaa76a692022-05-29 23:55:16 -070012 Priority: 3
Philipp Schrader790cb542023-07-05 21:06:52 -070013 # Force some more third-party headers to be appropriately categorized.
14 - Regex: '^(<|")(absl|ceres|ctre|Eigen|external|FRC_NetworkCommunication|foxglove|flatbuffers|glib-2.0|glog|gflags|gmock|gtest|google|libusb-1.0|lz4|opencv2|openssl|rawrtcc|sanitizer|single_include|third_party|wpi)/.*(>|")$'
15 Priority: 3
16 # The default regexes. For some reason, if we don't specify them here, then
17 # clang-format will overwrite them with the custom ones we specify above.
18 - Regex: '^<ext/.*\.h>'
19 Priority: 2
20 SortPriority: 0
21 CaseSensitive: false
22 - Regex: '^<.*\.h>'
23 Priority: 1
24 SortPriority: 0
25 CaseSensitive: false
26 - Regex: '^<.*'
27 Priority: 2
28 SortPriority: 0
29 CaseSensitive: false
30 - Regex: '.*'
31 Priority: 4
32 SortPriority: 0
33 CaseSensitive: false
Austin Schuh2c7feee2021-10-28 20:46:50 -070034
35---
36Language: JavaScript
37BasedOnStyle: Google
38ColumnLimit: 80