summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/BranchFolding.cpp
diff options
context:
space:
mode:
authorPaul Hoad <mydeveloperday@gmail.com>2019-10-05 09:55:23 +0000
committerPaul Hoad <mydeveloperday@gmail.com>2019-10-05 09:55:23 +0000
commit375a84bb75a8d00ad1af4c679b8bc42553ef66e1 (patch)
tree4e2f10fa102cc9ff0adc7331cf32a2f0a0b390b0 /llvm/lib/CodeGen/BranchFolding.cpp
parentb1f0183e572b32c0118c2e23910bf0c3dc37baad (diff)
downloadbcm5719-llvm-375a84bb75a8d00ad1af4c679b8bc42553ef66e1.tar.gz
bcm5719-llvm-375a84bb75a8d00ad1af4c679b8bc42553ef66e1.zip
[clang-format] SpacesInSquareBrackets should affect lambdas with parameters too
Summary: This patch makes the `SpacesInSquareBrackets` setting also apply to C++ lambdas with parameters. Looking through the revision history, it appears support for only array brackets was added, and lambda brackets were ignored. Therefore, I am inclined to think it was simply an omission, rather than a deliberate choice. See https://bugs.llvm.org/show_bug.cgi?id=17887 and https://reviews.llvm.org/D4944. Reviewers: MyDeveloperDay, reuk, owenpan Reviewed By: MyDeveloperDay Subscribers: cfe-commits Patch by: mitchell-stellar Tags: #clang-format, #clang Differential Revision: https://reviews.llvm.org/D68473 llvm-svn: 373821
Diffstat (limited to 'llvm/lib/CodeGen/BranchFolding.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud