85 lines
4.6 KiB
Text
85 lines
4.6 KiB
Text
# GENERATED by xo-gen-clang-format. DO NOT EDIT.
|
|
#
|
|
# Regenerate from the committed snapshot:
|
|
# xo-gen-clang-format > .clang-format
|
|
# or from a build tree's edge list:
|
|
# xo-gen-clang-format path/to/build/xo-subsystem-edges.txt > .clang-format
|
|
#
|
|
# Only include ordering (+ preprocessor-directive indentation) is specified
|
|
# here; other formatting is left to defaults.
|
|
Language: Cpp
|
|
SortIncludes: CaseSensitive
|
|
# Merge (not Regroup): order includes by the categories below in one block,
|
|
# without forcing a blank line between every category (per-subsystem categories
|
|
# would otherwise scatter blank lines through the xo block).
|
|
IncludeBlocks: Merge
|
|
IncludeIsMainRegex: '(\.test|_test|_utest)?$'
|
|
# Preprocessor-guarded includes: indent one space per nesting level after '#',
|
|
# so #ifdef X / # include ... / #endif is preserved (not flattened to #include).
|
|
# NB this ENFORCES that indentation on nested #-directives, not just preserves it.
|
|
IndentPPDirectives: AfterHash
|
|
PPIndentWidth: 1
|
|
IncludeCategories:
|
|
- { Regex: '^"', Priority: 1 } # self-subsystem (same-repo, quoted)
|
|
- { Regex: '^<xo/interpreter2/', Priority: 100 }
|
|
- { Regex: '^<xo/pyprocess/', Priority: 101 }
|
|
- { Regex: '^<xo/reader2/', Priority: 102 }
|
|
- { Regex: '^<xo/pykalmanfilter/', Priority: 103 }
|
|
- { Regex: '^<xo/pysimulator/', Priority: 104 }
|
|
- { Regex: '^<xo/process/', Priority: 105 }
|
|
- { Regex: '^<xo/pywebsock/', Priority: 106 }
|
|
- { Regex: '^<xo/expression2/', Priority: 107 }
|
|
- { Regex: '^<xo/kalmanfilter/', Priority: 108 }
|
|
- { Regex: '^<xo/pyreactor/', Priority: 109 }
|
|
- { Regex: '^<xo/simulator/', Priority: 110 }
|
|
- { Regex: '^<xo/websock/', Priority: 111 }
|
|
- { Regex: '^<xo/numeric/', Priority: 112 }
|
|
- { Regex: '^<xo/reactor/', Priority: 113 }
|
|
- { Regex: '^<xo/procedure2/', Priority: 114 }
|
|
- { Regex: '^<xo/imgui/', Priority: 115 }
|
|
- { Regex: '^<xo/interpreter/', Priority: 116 }
|
|
- { Regex: '^<xo/ordinaltree/', Priority: 117 }
|
|
- { Regex: '^<xo/gc/', Priority: 118 }
|
|
- { Regex: '^<xo/type/', Priority: 119 }
|
|
- { Regex: '^<xo/object/', Priority: 120 }
|
|
- { Regex: '^<xo/object2/', Priority: 121 }
|
|
- { Regex: '^<xo/tokenizer2/', Priority: 122 }
|
|
- { Regex: '^<xo/alloc/', Priority: 123 }
|
|
- { Regex: '^<xo/pyunit/', Priority: 124 }
|
|
- { Regex: '^<xo/stringtable2/', Priority: 125 }
|
|
- { Regex: '^<xo/pyexpression/', Priority: 126 }
|
|
- { Regex: '^<xo/pyprintjson/', Priority: 127 }
|
|
- { Regex: '^<xo/reader/', Priority: 128 }
|
|
- { Regex: '^<xo/unit/', Priority: 129 }
|
|
- { Regex: '^<xo/alloc2/', Priority: 130 }
|
|
- { Regex: '^<xo/pydistribution/', Priority: 131 }
|
|
- { Regex: '^<xo/pyreflect/', Priority: 132 }
|
|
- { Regex: '^<xo/pywebutil/', Priority: 133 }
|
|
- { Regex: '^<xo/expression/', Priority: 134 }
|
|
- { Regex: '^<xo/printjson/', Priority: 135 }
|
|
- { Regex: '^<xo/ratio/', Priority: 136 }
|
|
- { Regex: '^<xo/printable2/', Priority: 137 }
|
|
- { Regex: '^<xo/indentlog2/', Priority: 138 }
|
|
- { Regex: '^<xo/distribution/', Priority: 139 }
|
|
- { Regex: '^<xo/pyutil/', Priority: 140 }
|
|
- { Regex: '^<xo/reflect/', Priority: 141 }
|
|
- { Regex: '^<xo/webutil/', Priority: 142 }
|
|
- { Regex: '^<xo/facet/', Priority: 143 }
|
|
- { Regex: '^<xo/testutil/', Priority: 144 }
|
|
- { Regex: '^<xo/flatstring/', Priority: 145 }
|
|
- { Regex: '^<xo/refcnt/', Priority: 146 }
|
|
- { Regex: '^<xo/tokenizer/', Priority: 147 }
|
|
- { Regex: '^<xo/arena/', Priority: 148 }
|
|
- { Regex: '^<xo/subsys/', Priority: 149 }
|
|
- { Regex: '^<xo/indentlog/', Priority: 150 }
|
|
- { Regex: '^<xo/ppsink/', Priority: 151 }
|
|
- { Regex: '^<xo/timeutil/', Priority: 152 }
|
|
- { Regex: '^<xo/statistics/', Priority: 153 }
|
|
- { Regex: '^<xo/reflectutil/', Priority: 154 }
|
|
- { Regex: '^<xo/randomgen/', Priority: 155 }
|
|
- { Regex: '^<xo/callback/', Priority: 156 }
|
|
- { Regex: '^<xo/allocutil/', Priority: 157 }
|
|
- { Regex: '^<xo/', Priority: 500 } # any other xo (fallback / not in graph)
|
|
- { Regex: '^<(catch2|pybind11|replxx|Eigen|nlohmann|websocketpp|boost|json)', Priority: 600 } # electives
|
|
- { Regex: '^<[A-Za-z0-9_]+>', Priority: 700 } # C++ standard library (angle, no dot/slash)
|
|
- { Regex: '^<.*\.h>', Priority: 800 } # platform / C headers
|