Skip to content
Commit 806bcabc authored by Benjamin Kramer's avatar Benjamin Kramer
Browse files

[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.

llvm-svn: 213157
parent d6a49907
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment