summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Analysis/ConstantFolding.cpp
diff options
context:
space:
mode:
authorDaniel Jasper <djasper@google.com>2016-12-21 17:02:06 +0000
committerDaniel Jasper <djasper@google.com>2016-12-21 17:02:06 +0000
commit083d1700a0ef03d98db2109fd76186889f3c3fbe (patch)
tree3cec09f948c80ad4324b86a8923f2f09f04b8334 /llvm/lib/Analysis/ConstantFolding.cpp
parent12c3f33650dd45b9c95c7f4064e4520b59fd69e6 (diff)
downloadbcm5719-llvm-083d1700a0ef03d98db2109fd76186889f3c3fbe.tar.gz
bcm5719-llvm-083d1700a0ef03d98db2109fd76186889f3c3fbe.zip
clang-format: Fix bug in handling of single-column lists.
Members that are themselves wrapped in fake parentheses would lead to AvoidBinPacking be set on the wrong ParenState. After: vector<int> aaaa = { aaaaaa.aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa, aaaaaa.aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa, aaaaaa.aaaaaaa, aaaaaa.aaaaaaa, aaaaaa.aaaaaaa, aaaaaa.aaaaaaa, }; Before we were falling back to bin-packing these. llvm-svn: 290259
Diffstat (limited to 'llvm/lib/Analysis/ConstantFolding.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud