summaryrefslogtreecommitdiffstats
path: root/clang/unittests/Format/SortImportsTestJS.cpp
diff options
context:
space:
mode:
authorPaul Hoad <mydeveloperday@gmail.com>2019-09-18 18:57:09 +0000
committerPaul Hoad <mydeveloperday@gmail.com>2019-09-18 18:57:09 +0000
commit79983be5a027c0ff8a7ef7a8f67481ce61efc523 (patch)
tree3e5eeaedc9cdc0363ed935223dcf74da669aedad /clang/unittests/Format/SortImportsTestJS.cpp
parentba4cad9039660d322937f7f44bcb30b4849c3d58 (diff)
downloadbcm5719-llvm-79983be5a027c0ff8a7ef7a8f67481ce61efc523.tar.gz
bcm5719-llvm-79983be5a027c0ff8a7ef7a8f67481ce61efc523.zip
[clang-format][PR41964] Fix crash with SIGFPE when TabWidth is set to 0 and line starts with tab
Summary: clang-format 8.0 crashes with SIGFPE (floating point exception) when formatting following file: app.cpp: void a() { //line starts with '\t' } $ clang-format -style='{TabWidth: 0}' app.cpp Reviewers: owenpan, klimek, russellmcc, timwoj Reviewed By: klimek Subscribers: cfe-commits Tags: #clang-tools-extra, #clang Differential Revision: https://reviews.llvm.org/D67670 llvm-svn: 372246
Diffstat (limited to 'clang/unittests/Format/SortImportsTestJS.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud