diff options
author | Paul Hoad <mydeveloperday@gmail.com> | 2019-10-04 14:25:20 +0000 |
---|---|---|
committer | Paul Hoad <mydeveloperday@gmail.com> | 2019-10-04 14:25:20 +0000 |
commit | cccf5aa0816648a7bf0ca17be529b69b05ada113 (patch) | |
tree | 986b0c7fb55c9ece217562f38fadf52e44c6583e /lldb/packages/Python/lldbsuite/test/python_api/breakpoint/TestBreakpointAPI.py | |
parent | ba12cec21f55cae6aaae0b57d08cab0de9358d51 (diff) | |
download | bcm5719-llvm-cccf5aa0816648a7bf0ca17be529b69b05ada113.tar.gz bcm5719-llvm-cccf5aa0816648a7bf0ca17be529b69b05ada113.zip |
[clang-format] C++11 braced lists should respect the SpacesInParentheses setting
Summary:
According to the clang-format documentation, "Fundamentally, C++11 braced lists are formatted exactly like function calls would be formatted in their place. If the braced list follows a name (e.g. a type or variable name), clang-format formats as if the `{}` were the parentheses of a function call with that name."
This patch furthers the treatment of C++11 braced list braces as parentheses by respecting the `SpacesInParentheses` setting.
Reviewers: MyDeveloperDay, reuk, owenpan
Reviewed By: MyDeveloperDay
Subscribers: cfe-commits
Tags: #clang-format, #clang
Patch By: mitchell-stellar
Differential Revision: https://reviews.llvm.org/D68415
llvm-svn: 373751
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/breakpoint/TestBreakpointAPI.py')
0 files changed, 0 insertions, 0 deletions