diff options
author | Daniel Jasper <djasper@google.com> | 2014-05-22 08:36:53 +0000 |
---|---|---|
committer | Daniel Jasper <djasper@google.com> | 2014-05-22 08:36:53 +0000 |
commit | 5f3ea477cf3b48710a5ef839624606311f0c4ab7 (patch) | |
tree | cc197a160a9f1eabd3b911f487212cf6cdd04829 /clang/lib/CodeGen/CodeGenFunction.cpp | |
parent | 0f6272271e77b3b2b6325141c9798aed6ac966b8 (diff) | |
download | llvm-5f3ea477cf3b48710a5ef839624606311f0c4ab7.zip llvm-5f3ea477cf3b48710a5ef839624606311f0c4ab7.tar.gz llvm-5f3ea477cf3b48710a5ef839624606311f0c4ab7.tar.bz2 |
clang-format: Correctly calculate line lenghts for nest blocks.
If simple (one-statement) blocks can be inlined, the length needs to be
calculated correctly.
Before (in JavaScript but this also affects lambdas, etc.):
var x = {
valueOf: function() { return 1; }
};
After:
var x = {valueOf: function() { return 1; }};
llvm-svn: 209410
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions