mirror of
https://github.com/NixOS/nix.git
synced 2024-10-30 05:40:52 +00:00
6c861b9c51
This ended up motivating a good deal of other infra improvements in order to get Windows right: - `OsString` to complement `std::filesystem::path` - env var code for working with the underlying `OsString`s - Rename `PATHNG_LITERAL` to `OS_STR` - `NativePathTrait` renamed to `OsPathTrait`, given a character template parameter until #9205 is complete. Split `tests.cc` matching split of `util.{cc,hh}` last year. Co-authored-by: Robert Hensing <roberth@users.noreply.github.com>
35 lines
978 B
YAML
35 lines
978 B
YAML
BasedOnStyle: LLVM
|
|
IndentWidth: 4
|
|
BreakBeforeBraces: Custom
|
|
BraceWrapping:
|
|
AfterStruct: true
|
|
AfterClass: true
|
|
AfterFunction: true
|
|
AfterUnion: true
|
|
SplitEmptyRecord: false
|
|
PointerAlignment: Middle
|
|
FixNamespaceComments: false
|
|
SortIncludes: Never
|
|
#IndentPPDirectives: BeforeHash
|
|
SpaceAfterCStyleCast: true
|
|
SpaceAfterTemplateKeyword: false
|
|
AccessModifierOffset: -4
|
|
AlignAfterOpenBracket: AlwaysBreak
|
|
AlignEscapedNewlines: Left
|
|
ColumnLimit: 120
|
|
BreakStringLiterals: false
|
|
BitFieldColonSpacing: None
|
|
AllowShortFunctionsOnASingleLine: Empty
|
|
AlwaysBreakTemplateDeclarations: Yes
|
|
BinPackParameters: false
|
|
BreakConstructorInitializers: BeforeComma
|
|
EmptyLineAfterAccessModifier: Leave # change to always/never later?
|
|
EmptyLineBeforeAccessModifier: Leave
|
|
#PackConstructorInitializers: BinPack
|
|
BreakBeforeBinaryOperators: NonAssignment
|
|
AlwaysBreakBeforeMultilineStrings: true
|
|
IndentPPDirectives: AfterHash
|
|
PPIndentWidth: 2
|
|
BinPackArguments: false
|
|
BreakBeforeTernaryOperators: true
|