clang 22.0.0git
|
Precise control over the spacing before parentheses. More...
#include "clang/Format/Format.h"
Public Member Functions | |
SpaceBeforeParensCustom () | |
bool | operator== (const SpaceBeforeParensCustom &Other) const |
Public Attributes | |
bool | AfterControlStatements |
If true, put space between control statement keywords (for/if/while...) and opening parentheses. | |
bool | AfterForeachMacros |
If true, put space between foreach macros and opening parentheses. | |
bool | AfterFunctionDeclarationName |
If true, put a space between function declaration name and opening parentheses. | |
bool | AfterFunctionDefinitionName |
If true, put a space between function definition name and opening parentheses. | |
bool | AfterIfMacros |
If true, put space between if macros and opening parentheses. | |
bool | AfterNot |
If true, put a space between alternative operator not and the opening parenthesis. | |
bool | AfterOverloadedOperator |
If true, put a space between operator overloading and opening parentheses. | |
bool | AfterPlacementOperator |
If true, put a space between operator new/delete and opening parenthesis. | |
bool | AfterRequiresInClause |
If true, put space between requires keyword in a requires clause and opening parentheses, if there is one. | |
bool | AfterRequiresInExpression |
If true, put space between requires keyword in a requires expression and opening parentheses. | |
bool | BeforeNonEmptyParentheses |
If true, put a space before opening parentheses only if the parentheses are not empty. |
Precise control over the spacing before parentheses.
|
inline |
Definition at line 4758 of file Format.h.
References AfterControlStatements, AfterForeachMacros, AfterFunctionDeclarationName, AfterFunctionDefinitionName, AfterIfMacros, AfterNot, AfterOverloadedOperator, AfterPlacementOperator, AfterRequiresInClause, AfterRequiresInExpression, BeforeNonEmptyParentheses, false, and true.
Referenced by operator==().
|
inline |
Definition at line 4766 of file Format.h.
References AfterControlStatements, AfterForeachMacros, AfterFunctionDeclarationName, AfterFunctionDefinitionName, AfterIfMacros, AfterNot, AfterOverloadedOperator, AfterPlacementOperator, AfterRequiresInClause, AfterRequiresInExpression, BeforeNonEmptyParentheses, clang::Other, and SpaceBeforeParensCustom().
bool clang::SpaceBeforeParensCustom::AfterControlStatements |
If true, put space between control statement keywords (for/if/while...) and opening parentheses.
Definition at line 4678 of file Format.h.
Referenced by operator==(), and SpaceBeforeParensCustom().
bool clang::SpaceBeforeParensCustom::AfterForeachMacros |
If true, put space between foreach macros and opening parentheses.
Definition at line 4685 of file Format.h.
Referenced by operator==(), and SpaceBeforeParensCustom().
bool clang::SpaceBeforeParensCustom::AfterFunctionDeclarationName |
If true, put a space between function declaration name and opening parentheses.
Definition at line 4692 of file Format.h.
Referenced by operator==(), and SpaceBeforeParensCustom().
bool clang::SpaceBeforeParensCustom::AfterFunctionDefinitionName |
If true, put a space between function definition name and opening parentheses.
Definition at line 4699 of file Format.h.
Referenced by operator==(), and SpaceBeforeParensCustom().
bool clang::SpaceBeforeParensCustom::AfterIfMacros |
If true, put space between if macros and opening parentheses.
Definition at line 4706 of file Format.h.
Referenced by operator==(), and SpaceBeforeParensCustom().
bool clang::SpaceBeforeParensCustom::AfterNot |
If true, put a space between alternative operator not and the opening parenthesis.
Definition at line 4713 of file Format.h.
Referenced by operator==(), and SpaceBeforeParensCustom().
bool clang::SpaceBeforeParensCustom::AfterOverloadedOperator |
If true, put a space between operator overloading and opening parentheses.
Definition at line 4721 of file Format.h.
Referenced by operator==(), and SpaceBeforeParensCustom().
bool clang::SpaceBeforeParensCustom::AfterPlacementOperator |
If true, put a space between operator new/delete and opening parenthesis.
Definition at line 4729 of file Format.h.
Referenced by operator==(), and SpaceBeforeParensCustom().
bool clang::SpaceBeforeParensCustom::AfterRequiresInClause |
If true, put space between requires keyword in a requires clause and opening parentheses, if there is one.
Definition at line 4738 of file Format.h.
Referenced by operator==(), and SpaceBeforeParensCustom().
bool clang::SpaceBeforeParensCustom::AfterRequiresInExpression |
If true, put space between requires keyword in a requires expression and opening parentheses.
Definition at line 4748 of file Format.h.
Referenced by operator==(), and SpaceBeforeParensCustom().
bool clang::SpaceBeforeParensCustom::BeforeNonEmptyParentheses |
If true, put a space before opening parentheses only if the parentheses are not empty.
Definition at line 4756 of file Format.h.
Referenced by operator==(), and SpaceBeforeParensCustom().