aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp
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
commit806bcabcdafbb1deb8e3f1821d848f33f67a8dd5 (patch)
tree5cf2d3e45554c8a302ead70db7a485b1238cc664 /clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp
parentd6a499077a2ec818af8657b3376de987d0b51e22 (diff)
downloadllvm-806bcabcdafbb1deb8e3f1821d848f33f67a8dd5.zip
llvm-806bcabcdafbb1deb8e3f1821d848f33f67a8dd5.tar.gz
llvm-806bcabcdafbb1deb8e3f1821d848f33f67a8dd5.tar.bz2
[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
Diffstat (limited to 'clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions