diff options
author | Daniel Jasper <djasper@google.com> | 2015-06-10 09:21:09 +0000 |
---|---|---|
committer | Daniel Jasper <djasper@google.com> | 2015-06-10 09:21:09 +0000 |
commit | 11ca263994f20678fc30c7f18f4768d13390b5e4 (patch) | |
tree | 1d77055e3ac57cb739550bdbf7b1427a1e187b56 /llvm/lib | |
parent | ef40f0bbff6bdded23b2e14326cd4d6ea3187f13 (diff) | |
download | bcm5719-llvm-11ca263994f20678fc30c7f18f4768d13390b5e4.tar.gz bcm5719-llvm-11ca263994f20678fc30c7f18f4768d13390b5e4.zip |
clang-format: [JS] Only special case top level object literal
assignments as enums.
Top level object literals are treated as enums, and their k/v pairs are put on
separate lines:
X.Y = {
A: 1,
B: 2
};
However assignments within blocks should not be affected:
function x() {
y = {a:1, b:2};
}
This change fixes the second case. Patch by Martin Probst.
llvm-svn: 239462
Diffstat (limited to 'llvm/lib')
0 files changed, 0 insertions, 0 deletions