aboutsummaryrefslogtreecommitdiff
path: root/.clang-format
blob: 455dc60383087e2ba6b9a41de17d68d751661012 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
BasedOnStyle: LLVM
IndentWidth: 8
UseTab: Always
BreakBeforeBraces: Custom
Standard: Cpp11
BraceWrapping:
  AfterClass: true
  AfterControlStatement: false
  AfterEnum: true
  AfterFunction: true
  AfterNamespace: true
  AfterStruct: true
  AfterUnion: true
  BeforeCatch: false
  BeforeElse: false
AllowShortIfStatementsOnASingleLine: false
IndentCaseLabels: false
AccessModifierOffset: -8
ColumnLimit: 90
AllowShortFunctionsOnASingleLine: InlineOnly
SortIncludes: false
IncludeCategories:
  - Regex:           '^".*'
    Priority:        2
  - Regex:           '^<.*'
    Priority:        1
AlignAfterOpenBracket: DontAlign
ContinuationIndentWidth: 16
ConstructorInitializerIndentWidth: 16
BreakConstructorInitializers: AfterColon
/a>Wuzzy2021-10-15 * Fix src/util/string.cpp on NetBSDnia2021-09-19 * Shave off buffer copies in networking code (#11607)sfan52021-09-17 * Make sure relevant std::stringstreams are set to binarysfan52021-09-11 * Add a simple PNG image encoder with Lua API (#11485)hecks2021-07-29 * Improve shadow rendering with non-default camera FOV (#11385)x20482021-07-11 * Fix base64 validation and add unittests (#10515)Lars Müller2021-05-30 * Add `minetest.colorspec_to_colorstring` (#10425)Vincent Robinson2021-04-23 * Reserve vectors before pushing and other code quality changes (#11161)sfan52021-04-05 * Tweak duration_to_string formattingWuzzy2021-03-16 * Keep mapblocks in memory if they're in range (#10714)hecks2021-02-26 * Add nametag background setting and object property (#10937)rubenwardy2021-02-17 * Drop wide/narrow conversion functionssfan52021-02-02 * Refactor utf8_to_wide/wide_to_utf8 functionssfan52021-02-02 * Fix some minor code issues all over the placesfan52020-12-24 * (se)SerializeString: Include max length in the nameSmallJoker2020-10-01