summaryrefslogtreecommitdiffstats
path: root/clang-query
diff options
context:
space:
mode:
authorBenjamin Kramer <benny.kra@googlemail.com>2014-07-16 14:52:07 +0000
committerBenjamin Kramer <benny.kra@googlemail.com>2014-07-16 14:52:07 +0000
commitb9dde106bf3a473febf31cad1a080e266a879330 (patch)
treedf419f2379953f89eb56d3dca6928f4db5a93738 /clang-query
parentb2cf9302c7c625730d7df026f469d329ecbb817d (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