summaryrefslogtreecommitdiffstats
path: root/lldb/test/lang/cpp/class_static/TestStaticVariables.py
diff options
context:
space:
mode:
authorDaniel Jasper <djasper@google.com>2015-05-11 13:35:40 +0000
committerDaniel Jasper <djasper@google.com>2015-05-11 13:35:40 +0000
commitd57843d4e3f1646ddc3c057b6d8daf6c97978aab (patch)
tree8b7b5f4da8bcfbc2fa7b42f2c8ed203d8aa77598 /lldb/test/lang/cpp/class_static/TestStaticVariables.py
parentff82fce1c09d27f5d11bed76f44eb14d9d764180 (diff)
downloadbcm5719-llvm-d57843d4e3f1646ddc3c057b6d8daf6c97978aab.tar.gz
bcm5719-llvm-d57843d4e3f1646ddc3c057b6d8daf6c97978aab.zip
clang-format: Improve column layout.
Specifically, calculate the deviation between the shortest and longest element (which is used to prevent excessive whitespace) per column, not overall. This automatically handles the corner cases of a single column and a single row so that the actualy implementation becomes simpler. Before: vector<int> x = {1, aaaaaaaaaaaaaaaaaaaaaa, 2, bbbbbbbbbbbbbbbbbbbbbb, 3, cccccccccccccccccccccc}; After: vector<int> x = {1, aaaaaaaaaaaaaaaaaaaaaa, 2, bbbbbbbbbbbbbbbbbbbbbb, 3, cccccccccccccccccccccc}; llvm-svn: 236992
Diffstat (limited to 'lldb/test/lang/cpp/class_static/TestStaticVariables.py')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud