diff options
| author | Daniel Jasper <djasper@google.com> | 2014-06-03 12:02:45 +0000 |
|---|---|---|
| committer | Daniel Jasper <djasper@google.com> | 2014-06-03 12:02:45 +0000 |
| commit | 114a2bc9d25de52a1beacd18aff3a07929c64910 (patch) | |
| tree | 60e4dad973d46a8daba7302d9a1b82575598e543 /compiler-rt/lib | |
| parent | be6d91f1ba7472469dfe865df3d9eb3b0cde0791 (diff) | |
| download | bcm5719-llvm-114a2bc9d25de52a1beacd18aff3a07929c64910.tar.gz bcm5719-llvm-114a2bc9d25de52a1beacd18aff3a07929c64910.zip | |
clang-format: Refactor indentation behavior for multiple nested blocks.
This fixes a few oddities when formatting multiple nested JavaScript
blocks, e.g.:
Before:
promise.then(
function success() {
doFoo();
doBar();
},
[], function error() {
doFoo();
doBaz();
});
promise.then([],
function success() {
doFoo();
doBar();
},
function error() {
doFoo();
doBaz();
});
After:
promise.then(
function success() {
doFoo();
doBar();
},
[],
function error() {
doFoo();
doBaz();
});
promise.then([],
function success() {
doFoo();
doBar();
},
function error() {
doFoo();
doBaz();
});
llvm-svn: 210097
Diffstat (limited to 'compiler-rt/lib')
0 files changed, 0 insertions, 0 deletions

