aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/SWIGPythonBridge.cpp
diff options
context:
space:
mode:
authorCameron Mulhern <csmulhern@gmail.com>2022-01-17 08:54:51 +0100
committerBjörn Schäpers <bjoern@hazardy.de>2022-01-17 09:03:23 +0100
commit966f24e5a62a9f5df518357c2d4b0e361244a624 (patch)
tree355817b5d317678a68dc8d43a5f67d58c1090703 /lldb/source/Plugins/ScriptInterpreter/Python/SWIGPythonBridge.cpp
parent4c36567179ec7d37fd50a25cdf3800899f199c93 (diff)
downloadllvm-966f24e5a62a9f5df518357c2d4b0e361244a624.zip
llvm-966f24e5a62a9f5df518357c2d4b0e361244a624.tar.gz
llvm-966f24e5a62a9f5df518357c2d4b0e361244a624.tar.bz2
[clang-format] Add a BlockIndent option to AlignAfterOpenBracket
This style is similar to AlwaysBreak, but places closing brackets on new lines. For example, if you have a multiline parameter list, clang-format currently only supports breaking per-parameter, but places the closing bracket on the line of the last parameter. Function( param1, param2, param3); A style supported by other code styling tools (e.g. rustfmt) is to allow the closing brackets to be placed on their own line, aiding the user in being able to quickly infer the bounds of the block of code. Function( param1, param2, param3 ); For prior work on a similar feature, see: https://reviews.llvm.org/D33029. Note: This currently only supports block indentation for closing parentheses. Differential Revision: https://reviews.llvm.org/D109557
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/SWIGPythonBridge.cpp')
0 files changed, 0 insertions, 0 deletions