diff options
author | Benjamin Kramer <benny.kra@googlemail.com> | 2014-07-16 14:52:07 +0000 |
---|---|---|
committer | Benjamin Kramer <benny.kra@googlemail.com> | 2014-07-16 14:52:07 +0000 |
commit | b9dde106bf3a473febf31cad1a080e266a879330 (patch) | |
tree | df419f2379953f89eb56d3dca6928f4db5a93738 /clang-query | |
parent | b2cf9302c7c625730d7df026f469d329ecbb817d (diff) |
[clang-tidy] As a simple heuristic don't emit a swap fixit that would create
negative-sized memsets.
memset(x, -1, 0) is still useless but swapping makes no sense here. Just emit
a warning.
git-svn-id: https://llvm.org/svn/llvm-project/clang-tools-extra/trunk@213157 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'clang-query')
0 files changed, 0 insertions, 0 deletions