.clang-format
author Alexander Krotov <krotov@iitp.ru>
Wed, 05 Dec 2018 01:16:07 +0300
changeset 13888 231e5749e563
parent 13684 82dd11136f4c
permissions -rw-r--r--
wifi: document InterferenceHelper::CalculateSnr parameters
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
13510
d3554017fe1b Add .clang-format
Alexander Krotov <krotov@iitp.ru>
parents:
diff changeset
     1
---
d3554017fe1b Add .clang-format
Alexander Krotov <krotov@iitp.ru>
parents:
diff changeset
     2
Language: Cpp
13528
3dfa248a70a0 Fix AccessModifierOffset in .clang-format
Alexander Krotov <krotov@iitp.ru>
parents: 13510
diff changeset
     3
AccessModifierOffset: -2
13510
d3554017fe1b Add .clang-format
Alexander Krotov <krotov@iitp.ru>
parents:
diff changeset
     4
AlignAfterOpenBracket: Align
d3554017fe1b Add .clang-format
Alexander Krotov <krotov@iitp.ru>
parents:
diff changeset
     5
AlignConsecutiveAssignments: false
d3554017fe1b Add .clang-format
Alexander Krotov <krotov@iitp.ru>
parents:
diff changeset
     6
AlignConsecutiveDeclarations: false
d3554017fe1b Add .clang-format
Alexander Krotov <krotov@iitp.ru>
parents:
diff changeset
     7
AlignEscapedNewlinesLeft: true
d3554017fe1b Add .clang-format
Alexander Krotov <krotov@iitp.ru>
parents:
diff changeset
     8
AlignOperands: true
d3554017fe1b Add .clang-format
Alexander Krotov <krotov@iitp.ru>
parents:
diff changeset
     9
AlignTrailingComments: false
d3554017fe1b Add .clang-format
Alexander Krotov <krotov@iitp.ru>
parents:
diff changeset
    10
AllowAllParametersOfDeclarationOnNextLine: true
d3554017fe1b Add .clang-format
Alexander Krotov <krotov@iitp.ru>
parents:
diff changeset
    11
AllowShortBlocksOnASingleLine: false
d3554017fe1b Add .clang-format
Alexander Krotov <krotov@iitp.ru>
parents:
diff changeset
    12
AllowShortCaseLabelsOnASingleLine: false
d3554017fe1b Add .clang-format
Alexander Krotov <krotov@iitp.ru>
parents:
diff changeset
    13
AllowShortFunctionsOnASingleLine: None
d3554017fe1b Add .clang-format
Alexander Krotov <krotov@iitp.ru>
parents:
diff changeset
    14
AllowShortIfStatementsOnASingleLine: false
d3554017fe1b Add .clang-format
Alexander Krotov <krotov@iitp.ru>
parents:
diff changeset
    15
AllowShortLoopsOnASingleLine: false
d3554017fe1b Add .clang-format
Alexander Krotov <krotov@iitp.ru>
parents:
diff changeset
    16
AlwaysBreakAfterReturnType: AllDefinitions
d3554017fe1b Add .clang-format
Alexander Krotov <krotov@iitp.ru>
parents:
diff changeset
    17
AlwaysBreakTemplateDeclarations: true
d3554017fe1b Add .clang-format
Alexander Krotov <krotov@iitp.ru>
parents:
diff changeset
    18
BinPackArguments: true
d3554017fe1b Add .clang-format
Alexander Krotov <krotov@iitp.ru>
parents:
diff changeset
    19
BinPackParameters: true
d3554017fe1b Add .clang-format
Alexander Krotov <krotov@iitp.ru>
parents:
diff changeset
    20
BreakBeforeBinaryOperators: None
13684
82dd11136f4c Update .clang-format to avoid break after namespace
Alexander Krotov <krotov@iitp.ru>
parents: 13528
diff changeset
    21
BreakBeforeBraces: Custom
82dd11136f4c Update .clang-format to avoid break after namespace
Alexander Krotov <krotov@iitp.ru>
parents: 13528
diff changeset
    22
BraceWrapping:
82dd11136f4c Update .clang-format to avoid break after namespace
Alexander Krotov <krotov@iitp.ru>
parents: 13528
diff changeset
    23
  AfterClass: true
82dd11136f4c Update .clang-format to avoid break after namespace
Alexander Krotov <krotov@iitp.ru>
parents: 13528
diff changeset
    24
  AfterControlStatement: true
82dd11136f4c Update .clang-format to avoid break after namespace
Alexander Krotov <krotov@iitp.ru>
parents: 13528
diff changeset
    25
  AfterFunction: true
82dd11136f4c Update .clang-format to avoid break after namespace
Alexander Krotov <krotov@iitp.ru>
parents: 13528
diff changeset
    26
  AfterNamespace: false
82dd11136f4c Update .clang-format to avoid break after namespace
Alexander Krotov <krotov@iitp.ru>
parents: 13528
diff changeset
    27
  AfterStruct: true
82dd11136f4c Update .clang-format to avoid break after namespace
Alexander Krotov <krotov@iitp.ru>
parents: 13528
diff changeset
    28
  IndentBraces: true
82dd11136f4c Update .clang-format to avoid break after namespace
Alexander Krotov <krotov@iitp.ru>
parents: 13528
diff changeset
    29
  BeforeElse: true
13510
d3554017fe1b Add .clang-format
Alexander Krotov <krotov@iitp.ru>
parents:
diff changeset
    30
BreakBeforeTernaryOperators: true
d3554017fe1b Add .clang-format
Alexander Krotov <krotov@iitp.ru>
parents:
diff changeset
    31
BreakConstructorInitializersBeforeComma: false
d3554017fe1b Add .clang-format
Alexander Krotov <krotov@iitp.ru>
parents:
diff changeset
    32
ColumnLimit: 100
d3554017fe1b Add .clang-format
Alexander Krotov <krotov@iitp.ru>
parents:
diff changeset
    33
ConstructorInitializerAllOnOneLineOrOnePerLine: true
d3554017fe1b Add .clang-format
Alexander Krotov <krotov@iitp.ru>
parents:
diff changeset
    34
Cpp11BracedListStyle: true
d3554017fe1b Add .clang-format
Alexander Krotov <krotov@iitp.ru>
parents:
diff changeset
    35
DerivePointerAlignment: false
d3554017fe1b Add .clang-format
Alexander Krotov <krotov@iitp.ru>
parents:
diff changeset
    36
IndentCaseLabels: false
d3554017fe1b Add .clang-format
Alexander Krotov <krotov@iitp.ru>
parents:
diff changeset
    37
IndentWidth: 2
d3554017fe1b Add .clang-format
Alexander Krotov <krotov@iitp.ru>
parents:
diff changeset
    38
NamespaceIndentation: None
d3554017fe1b Add .clang-format
Alexander Krotov <krotov@iitp.ru>
parents:
diff changeset
    39
PointerAlignment: Right
d3554017fe1b Add .clang-format
Alexander Krotov <krotov@iitp.ru>
parents:
diff changeset
    40
ReflowComments: false
d3554017fe1b Add .clang-format
Alexander Krotov <krotov@iitp.ru>
parents:
diff changeset
    41
SortIncludes: false
d3554017fe1b Add .clang-format
Alexander Krotov <krotov@iitp.ru>
parents:
diff changeset
    42
SpaceAfterCStyleCast: true
d3554017fe1b Add .clang-format
Alexander Krotov <krotov@iitp.ru>
parents:
diff changeset
    43
SpaceAfterTemplateKeyword: true
d3554017fe1b Add .clang-format
Alexander Krotov <krotov@iitp.ru>
parents:
diff changeset
    44
SpaceBeforeAssignmentOperators: true
d3554017fe1b Add .clang-format
Alexander Krotov <krotov@iitp.ru>
parents:
diff changeset
    45
SpaceBeforeParens: Always
d3554017fe1b Add .clang-format
Alexander Krotov <krotov@iitp.ru>
parents:
diff changeset
    46
SpaceInEmptyParentheses: false
d3554017fe1b Add .clang-format
Alexander Krotov <krotov@iitp.ru>
parents:
diff changeset
    47
SpacesInAngles:  false
d3554017fe1b Add .clang-format
Alexander Krotov <krotov@iitp.ru>
parents:
diff changeset
    48
SpacesInCStyleCastParentheses: false
d3554017fe1b Add .clang-format
Alexander Krotov <krotov@iitp.ru>
parents:
diff changeset
    49
SpacesInParentheses: false
d3554017fe1b Add .clang-format
Alexander Krotov <krotov@iitp.ru>
parents:
diff changeset
    50
SpacesInSquareBrackets: false
d3554017fe1b Add .clang-format
Alexander Krotov <krotov@iitp.ru>
parents:
diff changeset
    51
Standard: 'Cpp11'
d3554017fe1b Add .clang-format
Alexander Krotov <krotov@iitp.ru>
parents:
diff changeset
    52
UseTab: Never
d3554017fe1b Add .clang-format
Alexander Krotov <krotov@iitp.ru>
parents:
diff changeset
    53
...