File tree Expand file tree Collapse file tree 1 file changed +27
-3
lines changed Expand file tree Collapse file tree 1 file changed +27
-3
lines changed Original file line number Diff line number Diff line change @@ -5678,6 +5678,7 @@ the configuration (without a prefix: ``Auto``).
5678
5678
# Example of usage:
5679
5679
SpacesInParens : Custom
5680
5680
SpacesInParensOptions :
5681
+ InAttributeSpecifiers : NonConsecutive
5681
5682
InConditionalStatements : true
5682
5683
InEmptyParentheses : true
5683
5684
@@ -5693,12 +5694,35 @@ the configuration (without a prefix: ``Auto``).
5693
5694
InConditionalStatements: true
5694
5695
Other: true
5695
5696
5696
- * ``bool InAttributeSpecifiers `` Put a space in parentheses of attribute specifiers.
5697
+ * ``SpacesInParensCustomStyle InAttributeSpecifiers ``
5698
+ Put a space in parentheses of attribute specifiers.
5697
5699
5698
5700
.. code-block :: c++
5699
5701
5700
- true: false:
5701
- __attribute__( ( noreturn ) ) vs. __attribute__((noreturn))
5702
+ Always:
5703
+ __attribute__( ( noreturn ) )
5704
+
5705
+ .. code-block :: c++
5706
+
5707
+ NonConsecutive:
5708
+ _attribute__(( noreturn ))
5709
+
5710
+ .. code-block :: c++
5711
+
5712
+ Never:
5713
+ _attribute__((noreturn))
5714
+
5715
+ Possible values:
5716
+
5717
+ * ``SIPCS_Never `` (in configuration: ``Never ``)
5718
+ Never put spaces in parens.
5719
+
5720
+ * ``SIPCS_NonConsecutive `` (in configuration: ``NonConsecutive ``)
5721
+ Only put spaces in parens not followed by the same consecutive parens.
5722
+
5723
+ * ``SIPCS_Always `` (in configuration: ``Always ``)
5724
+ Always put spaces in parens.
5725
+
5702
5726
5703
5727
* ``bool InConditionalStatements `` Put a space in parentheses only inside conditional statements
5704
5728
(``for/if/while/switch... ``).
You can’t perform that action at this time.
0 commit comments