diff options
author | Daniel Jasper <djasper@google.com> | 2016-01-04 13:11:41 +0000 |
---|---|---|
committer | Daniel Jasper <djasper@google.com> | 2016-01-04 13:11:41 +0000 |
commit | ebcb71fb875647de31cc0de5b446b72703a212bb (patch) | |
tree | 62bbf5beded3805ef5657490249430d4a1605bb9 /clang-tools-extra/clang-tidy/cert/VariadicFunctionDefCheck.cpp | |
parent | 11d14314cc3e9cc90c45de273496a369433b78aa (diff) | |
download | bcm5719-llvm-ebcb71fb875647de31cc0de5b446b72703a212bb.tar.gz bcm5719-llvm-ebcb71fb875647de31cc0de5b446b72703a212bb.zip |
clang-format: [JS] Improve empty array literal detection.
Previously, the [] in the following example were recognized as an array
subscript leading to weird indentation.
Before:
var aaaa = aaaaa || // wrap
[];
After:
var aaaa = aaaaa || // wrap
[];
llvm-svn: 256753
Diffstat (limited to 'clang-tools-extra/clang-tidy/cert/VariadicFunctionDefCheck.cpp')
0 files changed, 0 insertions, 0 deletions