diff options
| author | Daniel Jasper <djasper@google.com> | 2014-05-08 09:25:39 +0000 |
|---|---|---|
| committer | Daniel Jasper <djasper@google.com> | 2014-05-08 09:25:39 +0000 |
| commit | c03e16a7bcd4644db6e1bacddd47d9fd47669840 (patch) | |
| tree | d63d1517cbe4dc47f72922f6cdfbd858e9f36305 /clang/unittests/Format/FormatTest.cpp | |
| parent | 5ee9fd5f45e73cc52f11f46325c29e205ee9353e (diff) | |
| download | bcm5719-llvm-c03e16a7bcd4644db6e1bacddd47d9fd47669840.tar.gz bcm5719-llvm-c03e16a7bcd4644db6e1bacddd47d9fd47669840.zip | |
clang-format: [JS] support closures in container literals.
Before:
return {body: {setAttribute: function(key, val) {this[key] = val;
}
, getAttribute : function(key) { return this[key]; }
, style : {
direction:
''
}
}
}
;
After:
return {
body: {
setAttribute: function(key, val) { this[key] = val; },
getAttribute: function(key) { return this[key]; },
style: {direction: ''}
}
};
llvm-svn: 208292
Diffstat (limited to 'clang/unittests/Format/FormatTest.cpp')
0 files changed, 0 insertions, 0 deletions

