diff options
| author | Adam Balogh <adam.balogh@ericsson.com> | 2017-11-23 12:56:23 +0000 |
|---|---|---|
| committer | Adam Balogh <adam.balogh@ericsson.com> | 2017-11-23 12:56:23 +0000 |
| commit | 0857ca489ee5150e73d2bde26861fc5a644c7b90 (patch) | |
| tree | de0c1f5e2acebf963b3bda01f2fcc8d3a8e27aac /llvm/utils/lit/tests | |
| parent | 989c9e75a6fd1ef6eed9777fcd95b0f40b93f40c (diff) | |
| download | bcm5719-llvm-0857ca489ee5150e73d2bde26861fc5a644c7b90.tar.gz bcm5719-llvm-0857ca489ee5150e73d2bde26861fc5a644c7b90.zip | |
[clang-tidy] Add support for operator new[] in check bugprone-misplaced-operator-in-strlen-in-alloc
The check now recognizes error cases like `new char[strlen(s + 1)]` and suggests
a fix in the format `new char[strlen(s) + 1]`.
llvm-svn: 318912
Diffstat (limited to 'llvm/utils/lit/tests')
0 files changed, 0 insertions, 0 deletions

