Commit d5b28964 authored by Igor Kushnir's avatar Igor Kushnir Committed by Milian Wolff
Browse files

.clang-format: don't break before namespace brace

No non-Custom BreakBeforeBraces value fits the KDevelop code style:
* "Linux" breaks before brace on namespace definition;
* "Mozilla" breaks before brace on enum definition;
* "WebKit" doesn't break before brace on class definition.
parent 5ed015b3
......@@ -33,7 +33,24 @@ ColumnLimit: 120
SortIncludes: true
# break before braces on function, namespace and class definitions.
BreakBeforeBraces: Linux
#KDevelop overrides BreakBeforeBraces: Linux
BreakBeforeBraces: Custom
BraceWrapping:
AfterCaseLabel: false
AfterClass: true
AfterControlStatement: false
AfterEnum: false
AfterFunction: true
AfterNamespace: false
AfterStruct: false
AfterUnion: false
AfterExternBlock: false
BeforeCatch: false
BeforeElse: false
IndentBraces: false
SplitEmptyFunction: true
SplitEmptyRecord: true
SplitEmptyNamespace: true
# CrlInstruction *a;
#KDevelop overrides PointerAlignment: Right
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment