|
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 4881 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 4889 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 4801 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 4808 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 4815 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 4822 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 4829 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 4836 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 4844 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 4852 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 4861 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 4871 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 4879 of file Format.h.
Referenced by operator==(), and SpaceBeforeParensCustom().