summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/ExpandReductions.cpp
diff options
context:
space:
mode:
authorMitchell Balan <mitchell@stellarscience.com>2019-11-14 13:18:34 -0500
committerMitchell Balan <mitchell@stellarscience.com>2019-11-14 13:24:50 -0500
commit4ee70e00b509fe26bac4196df76dc7c6153f1206 (patch)
tree29ea32a22c8842b26ad0288c0f873f62783bf190 /llvm/lib/CodeGen/ExpandReductions.cpp
parent5fe3f00ae2753d84ad2f9ca7c5a2b56c34344dfb (diff)
downloadbcm5719-llvm-4ee70e00b509fe26bac4196df76dc7c6153f1206.tar.gz
bcm5719-llvm-4ee70e00b509fe26bac4196df76dc7c6153f1206.zip
[clang-format] Fixed edge-case with SpacesInSquareBrackets with trailing bare "&" lambda capture.
Summary: Lambda captures allow for a lone `&` capture, so `&]` needs to be properly handled. `int foo = [& ]() {}` is fixed to give `int foo = [ & ]() {}` Reviewers: MyDeveloperDay Reviewed by: MyDeveloperDay Subscribers: cfe-commits Tags: #clang, #clang-format Differential Revision: https://reviews.llvm.org/D70249
Diffstat (limited to 'llvm/lib/CodeGen/ExpandReductions.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud