struct FormatStyle::SpaceBeforeParensCustom
Declaration
struct FormatStyle::SpaceBeforeParensCustom { /* full declaration omitted */ };
Description
Precise control over the spacing before parentheses.
Declared at: clang/include/clang/Format/Format.h:3462
Member Variables
- public bool AfterControlStatements
- If ``true``, put space betwee control statement keywords (for/if/while...) and opening parentheses.
- public bool AfterForeachMacros
- If ``true``, put space between foreach macros and opening parentheses.
- public bool AfterFunctionDeclarationName
- If ``true``, put a space between function declaration name and opening parentheses.
- public bool AfterFunctionDefinitionName
- If ``true``, put a space between function definition name and opening parentheses.
- public bool AfterIfMacros
- If ``true``, put space between if macros and opening parentheses.
- public bool AfterOverloadedOperator
- If ``true``, put a space between operator overloading and opening parentheses.
- public bool AfterRequiresInClause
- If ``true``, put space between requires keyword in a requires clause and opening parentheses, if there is one.
- public bool AfterRequiresInExpression
- If ``true``, put space between requires keyword in a requires expression and opening parentheses.
- public bool BeforeNonEmptyParentheses
- If ``true``, put a space before opening parentheses only if the parentheses are not empty.
Method Overview
- public SpaceBeforeParensCustom()
Methods
ΒΆSpaceBeforeParensCustom()
SpaceBeforeParensCustom()
Declared at: clang/include/clang/Format/Format.h:3534