@@ -1799,8 +1799,8 @@ the configuration (without a prefix: ``Auto``).
1799
1799
Never merge functions into a single line.
1800
1800
1801
1801
* ``SFS_InlineOnly `` (in configuration: ``InlineOnly ``)
1802
- Only merge functions defined inside a class. Same as " inline" ,
1803
- except it does not implies " empty" : i.e. top level empty functions
1802
+ Only merge functions defined inside a class. Same as `` inline `` ,
1803
+ except it does not implies `` empty `` : i.e. top level empty functions
1804
1804
are not merged either.
1805
1805
1806
1806
.. code-block :: c++
@@ -1825,7 +1825,7 @@ the configuration (without a prefix: ``Auto``).
1825
1825
}
1826
1826
1827
1827
* ``SFS_Inline `` (in configuration: ``Inline ``)
1828
- Only merge functions defined inside a class. Implies " empty" .
1828
+ Only merge functions defined inside a class. Implies `` empty `` .
1829
1829
1830
1830
.. code-block :: c++
1831
1831
@@ -2042,7 +2042,7 @@ the configuration (without a prefix: ``Auto``).
2042
2042
2043
2043
.. code-block :: yaml
2044
2044
2045
- AttributeMacros : [' __capability', ' __output', ' __unused' ]
2045
+ AttributeMacros : [__capability, __output, __unused]
2046
2046
2047
2047
.. _BinPackArguments :
2048
2048
@@ -3802,7 +3802,7 @@ the configuration (without a prefix: ``Auto``).
3802
3802
3803
3803
.. code-block :: yaml
3804
3804
3805
- ForEachMacros : [' RANGES_FOR', ' FOREACH' ]
3805
+ ForEachMacros : [RANGES_FOR, FOREACH]
3806
3806
3807
3807
For example: BOOST_FOREACH.
3808
3808
@@ -3825,7 +3825,7 @@ the configuration (without a prefix: ``Auto``).
3825
3825
3826
3826
.. code-block :: yaml
3827
3827
3828
- IfMacros : ['IF' ]
3828
+ IfMacros : [IF ]
3829
3829
3830
3830
For example: `KJ_IF_MAYBE
3831
3831
<https://github.com/capnproto/capnproto/blob/master/kjdoc/tour.md#maybes> `_
@@ -4374,7 +4374,7 @@ the configuration (without a prefix: ``Auto``).
4374
4374
4375
4375
.. code-block :: yaml
4376
4376
4377
- JavaImportGroups : [' com.example', ' com', ' org' ]
4377
+ JavaImportGroups : [com.example, com, org]
4378
4378
4379
4379
4380
4380
.. code-block :: java
@@ -4438,7 +4438,7 @@ the configuration (without a prefix: ``Auto``).
4438
4438
VeryLongImportsAreAnnoying ,
4439
4439
VeryLongImportsAreAnnoying ,
4440
4440
VeryLongImportsAreAnnoying ,
4441
- } from ' some/module.js'
4441
+ } from " some/module.js"
4442
4442
4443
4443
false:
4444
4444
import {VeryLongImportsAreAnnoying , VeryLongImportsAreAnnoying , VeryLongImportsAreAnnoying ,} from " some/module.js"
@@ -5088,7 +5088,7 @@ the configuration (without a prefix: ``Auto``).
5088
5088
5089
5089
.. code-block :: yaml
5090
5090
5091
- QualifierOrder : [' inline', ' static', ' type', ' const' ]
5091
+ QualifierOrder : [inline, static, type, const]
5092
5092
5093
5093
5094
5094
.. code-block :: c++
@@ -5117,16 +5117,16 @@ the configuration (without a prefix: ``Auto``).
5117
5117
5118
5118
.. note ::
5119
5119
5120
- it MUST contain ' type' .
5120
+ It must contain `` type `` .
5121
5121
5122
- Items to the left of ' type' will be placed to the left of the type and
5123
- aligned in the order supplied. Items to the right of ' type' will be
5122
+ Items to the left of `` type `` will be placed to the left of the type and
5123
+ aligned in the order supplied. Items to the right of `` type `` will be
5124
5124
placed to the right of the type and aligned in the order supplied.
5125
5125
5126
5126
5127
5127
.. code-block :: yaml
5128
5128
5129
- QualifierOrder : [' inline', ' static', ' type', ' const', ' volatile' ]
5129
+ QualifierOrder : [inline, static, type, const, volatile]
5130
5130
5131
5131
.. _RawStringFormats :
5132
5132
@@ -5138,10 +5138,10 @@ the configuration (without a prefix: ``Auto``).
5138
5138
name will be reformatted assuming the specified language based on the
5139
5139
style for that language defined in the .clang-format file. If no style has
5140
5140
been defined in the .clang-format file for the specific language, a
5141
- predefined style given by ' BasedOnStyle' is used. If ' BasedOnStyle' is not
5142
- found, the formatting is based on llvm style. A matching delimiter takes
5143
- precedence over a matching enclosing function name for determining the
5144
- language of the raw string contents.
5141
+ predefined style given by `` BasedOnStyle `` is used. If `` BasedOnStyle `` is
5142
+ not found, the formatting is based on `` LLVM `` style. A matching delimiter
5143
+ takes precedence over a matching enclosing function name for determining
5144
+ the language of the raw string contents.
5145
5145
5146
5146
If a canonical delimiter is specified, occurrences of other delimiters for
5147
5147
the same language will be updated to the canonical if possible.
@@ -5156,17 +5156,17 @@ the configuration (without a prefix: ``Auto``).
5156
5156
RawStringFormats :
5157
5157
- Language : TextProto
5158
5158
Delimiters :
5159
- - ' pb '
5160
- - ' proto'
5159
+ - pb
5160
+ - proto
5161
5161
EnclosingFunctions :
5162
- - ' PARSE_TEXT_PROTO'
5162
+ - PARSE_TEXT_PROTO
5163
5163
BasedOnStyle : google
5164
5164
- Language : Cpp
5165
5165
Delimiters :
5166
- - ' cc '
5167
- - ' cpp'
5168
- BasedOnStyle : llvm
5169
- CanonicalDelimiter : ' cc '
5166
+ - cc
5167
+ - cpp
5168
+ BasedOnStyle : LLVM
5169
+ CanonicalDelimiter : cc
5170
5170
5171
5171
.. _ReferenceAlignment :
5172
5172
@@ -5533,7 +5533,7 @@ the configuration (without a prefix: ``Auto``).
5533
5533
5534
5534
This determines the maximum length of short namespaces by counting
5535
5535
unwrapped lines (i.e. containing neither opening nor closing
5536
- namespace brace) and makes " FixNamespaceComments" omit adding
5536
+ namespace brace) and makes `` FixNamespaceComments `` omit adding
5537
5537
end comments for those.
5538
5538
5539
5539
.. code-block :: c++
@@ -5645,7 +5645,7 @@ the configuration (without a prefix: ``Auto``).
5645
5645
5646
5646
* ``SUD_Lexicographic `` (in configuration: ``Lexicographic ``)
5647
5647
Using declarations are sorted in the order defined as follows:
5648
- Split the strings by "::" and discard any initial empty strings. Sort
5648
+ Split the strings by `` :: `` and discard any initial empty strings. Sort
5649
5649
the lists of names lexicographically, and within those groups, names are
5650
5650
in case-insensitive lexicographic order.
5651
5651
@@ -5659,7 +5659,7 @@ the configuration (without a prefix: ``Auto``).
5659
5659
5660
5660
* ``SUD_LexicographicNumeric `` (in configuration: ``LexicographicNumeric ``)
5661
5661
Using declarations are sorted in the order defined as follows:
5662
- Split the strings by "::" and discard any initial empty strings. The
5662
+ Split the strings by `` :: `` and discard any initial empty strings. The
5663
5663
last element of each list is a non-namespace name; all others are
5664
5664
namespace names. Sort the lists of names lexicographically, where the
5665
5665
sort order of individual names is that all non-namespace names come
@@ -5699,7 +5699,7 @@ the configuration (without a prefix: ``Auto``).
5699
5699
.. _SpaceAfterTemplateKeyword :
5700
5700
5701
5701
**SpaceAfterTemplateKeyword ** (``Boolean ``) :versionbadge: `clang-format 4 ` :ref: `¶ <SpaceAfterTemplateKeyword >`
5702
- If ``true ``, a space will be inserted after the ' template' keyword.
5702
+ If ``true ``, a space will be inserted after the `` template `` keyword.
5703
5703
5704
5704
.. code-block :: c++
5705
5705
@@ -5860,7 +5860,7 @@ the configuration (without a prefix: ``Auto``).
5860
5860
5861
5861
* ``SBPO_NonEmptyParentheses `` (in configuration: ``NonEmptyParentheses ``)
5862
5862
Put a space before opening parentheses only if the parentheses are not
5863
- empty i.e. '()'
5863
+ empty.
5864
5864
5865
5865
.. code-block :: c++
5866
5866
@@ -6245,7 +6245,7 @@ the configuration (without a prefix: ``Auto``).
6245
6245
true: false:
6246
6246
x = ( int32 )y vs. x = (int32)y
6247
6247
6248
- * ``bool InEmptyParentheses `` Put a space in parentheses only if the parentheses are empty i.e. '()'
6248
+ * ``bool InEmptyParentheses `` Insert a space in empty parentheses, i.e. `` () ``.
6249
6249
6250
6250
.. code-block :: c++
6251
6251
@@ -6409,10 +6409,9 @@ the configuration (without a prefix: ``Auto``).
6409
6409
.. code-block :: yaml
6410
6410
6411
6411
TableGenBreakInsideDAGArg : BreakAll
6412
- TableGenBreakingDAGArgOperators : ['ins', 'outs']
6413
-
6412
+ TableGenBreakingDAGArgOperators : [ins, outs]
6414
6413
makes the line break only occurs inside DAGArgs beginning with the
6415
- specified identifiers ' ins' and ' outs' .
6414
+ specified identifiers `` ins `` and `` outs `` .
6416
6415
6417
6416
6418
6417
.. code-block :: c++
@@ -6450,7 +6449,7 @@ the configuration (without a prefix: ``Auto``).
6450
6449
6451
6450
.. code-block :: yaml
6452
6451
6453
- TypenameMacros : [' STACK_OF', ' LIST' ]
6452
+ TypenameMacros : [STACK_OF, LIST]
6454
6453
6455
6454
For example: OpenSSL STACK_OF, BSD LIST_ENTRY.
6456
6455
@@ -6518,7 +6517,7 @@ the configuration (without a prefix: ``Auto``).
6518
6517
6519
6518
.. code-block :: yaml
6520
6519
6521
- WhitespaceSensitiveMacros : [' STRINGIZE', ' PP_STRINGIZE' ]
6520
+ WhitespaceSensitiveMacros : [STRINGIZE, PP_STRINGIZE]
6522
6521
6523
6522
For example: BOOST_PP_STRINGIZE
6524
6523
0 commit comments