summaryrefslogtreecommitdiffstats
path: root/compiler-rt/lib/sanitizer_common
diff options
context:
space:
mode:
authorDaniel Jasper <djasper@google.com>2014-06-03 12:02:45 +0000
committerDaniel Jasper <djasper@google.com>2014-06-03 12:02:45 +0000
commit114a2bc9d25de52a1beacd18aff3a07929c64910 (patch)
tree60e4dad973d46a8daba7302d9a1b82575598e543 /compiler-rt/lib/sanitizer_common
parentbe6d91f1ba7472469dfe865df3d9eb3b0cde0791 (diff)
downloadbcm5719-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/sanitizer_common')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud