diff options
author | Gedare Bloom <gedare@rtems.org> | 2023-07-24 19:13:33 -0700 |
---|---|---|
committer | Owen Pan <owenpiano@gmail.com> | 2023-07-24 19:27:23 -0700 |
commit | c669541c969c70190933b4a16384c60de80242c0 (patch) | |
tree | 5ece4f09458a01465407fed269a527e9e59e8cdc /llvm/lib/Analysis/ModuleSummaryAnalysis.cpp | |
parent | 2398e260806f8beabe017e408225b30897b29198 (diff) | |
download | llvm-c669541c969c70190933b4a16384c60de80242c0.zip llvm-c669541c969c70190933b4a16384c60de80242c0.tar.gz llvm-c669541c969c70190933b4a16384c60de80242c0.tar.bz2 |
[clang-format] Add SpacesInParens with SpacesInParensOptions
This is a refactoring of:
- SpacesInConditionalStatement
- SpacesInCStyleCastParentheses
- SpaceInEmptyParentheses
- SpacesInParentheses
These are now options under the new Style Option: SpacesInParens. The
existing options are maintained for backward compatibility.
Within SpacesInParens, there are currently options for:
- Never
- Custom
The currently available options for Custom are:
- InConditionalStatements
- InCStyleCasts
- InEmptyParentheses
- Other
Setting InConditionalStatements and Other to true enables the same space
additions as SpacesInParentheses.
This refactoring does not add or remove any existing features, but it makes
it possible to more easily extend and maintain the addition of spaces within
parentheses.
Related to #55428.
Differential Revision: https://reviews.llvm.org/D155239
Diffstat (limited to 'llvm/lib/Analysis/ModuleSummaryAnalysis.cpp')
0 files changed, 0 insertions, 0 deletions