summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Analysis/CodeMetrics.cpp
diff options
context:
space:
mode:
authorDaniel Jasper <djasper@google.com>2016-12-19 07:26:11 +0000
committerDaniel Jasper <djasper@google.com>2016-12-19 07:26:11 +0000
commite6169665ec6bfe192cebfcfe67fa2591cbb7c8ec (patch)
tree66f441e9a030fadfc4dd67184bed0e5aa82610a4 /llvm/lib/Analysis/CodeMetrics.cpp
parent2cc7fc2cc636fde43b72488a86b98859442286b8 (diff)
downloadbcm5719-llvm-e6169665ec6bfe192cebfcfe67fa2591cbb7c8ec.tar.gz
bcm5719-llvm-e6169665ec6bfe192cebfcfe67fa2591cbb7c8ec.zip
clang-format: Allow "single column" list layout even if that violates the
column limit. Single-column layout basically means that we format the list with one element per line. Not doing that when there is a column limit violation doesn't change the fact that there is an item that doesn't fit within the column limit. Before (with a column limit of 30): std::vector<int> a = { aaaaaaaa, aaaaaaaa, aaaaaaaa, aaaaaaaa, aaaaaaaaaa, aaaaaaaa, aaaaaaaaaaaaaaaaaaaaaaaaaaa}; After: std::vector<int> a = { aaaaaaaa, aaaaaaaa, aaaaaaaa, aaaaaaaa, aaaaaaaaaa, aaaaaaaa, aaaaaaaaaaaaaaaaaaaaaaaaaaa}; (and previously we would have formatted like "After" it wasn't for the one item that is too long) llvm-svn: 290084
Diffstat (limited to 'llvm/lib/Analysis/CodeMetrics.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud