aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
diff options
context:
space:
mode:
authorDávid Bolvanský <david.bolvansky@gmail.com>2022-03-23 22:03:57 +0100
committerDávid Bolvanský <david.bolvansky@gmail.com>2022-03-23 22:05:36 +0100
commit460fc440ad8d41ca2e3882987512989b1c188fbe (patch)
treeafee9735361b54ea386f5f4c2511cebfdd904b22 /lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
parent7fdb50c8137b0b9c7f02fe0803e368f12969b389 (diff)
downloadllvm-460fc440ad8d41ca2e3882987512989b1c188fbe.zip
llvm-460fc440ad8d41ca2e3882987512989b1c188fbe.tar.gz
llvm-460fc440ad8d41ca2e3882987512989b1c188fbe.tar.bz2
[Clang] -Wunused-but-set-variable warning - handle also pre/post unary operators
Clang fails to diagnose: ``` void test() { int j = 0; for (int i = 0; i < 1000; i++) j++; return; } ``` Reason: Missing support for UnaryOperator. We should not warn with volatile variables... so add check for it. Reviewed By: efriedma Differential Revision: https://reviews.llvm.org/D122271
Diffstat (limited to 'lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp')
0 files changed, 0 insertions, 0 deletions