summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/python_api/sbstructureddata/TestStructuredDataAPI.py
diff options
context:
space:
mode:
authorArtem Dergachev <artem.dergachev@gmail.com>2018-12-17 06:19:32 +0000
committerArtem Dergachev <artem.dergachev@gmail.com>2018-12-17 06:19:32 +0000
commit2b500cbdf109cf40e04e2ad52cfa025ecea5c16f (patch)
treee42ad481f6918bc0bffa7bdd580074a563ba2d0c /lldb/packages/Python/lldbsuite/test/python_api/sbstructureddata/TestStructuredDataAPI.py
parent69909540a700e866767a14c67fca64f835044452 (diff)
downloadbcm5719-llvm-2b500cbdf109cf40e04e2ad52cfa025ecea5c16f.tar.gz
bcm5719-llvm-2b500cbdf109cf40e04e2ad52cfa025ecea5c16f.zip
[analyzer] MoveChecker: Add an option to suppress warnings on locals.
Re-using a moved-from local variable is most likely a bug because there's rarely a good motivation for not introducing a separate variable instead. We plan to keep emitting such warnings by default. Introduce a flag that allows disabling warnings on local variables that are not of a known move-unsafe type. If it doesn't work out as we expected, we'll just flip the flag. We still warn on move-unsafe objects and unsafe operations on known move-safe objects. Differential Revision: https://reviews.llvm.org/D55730 llvm-svn: 349327
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/sbstructureddata/TestStructuredDataAPI.py')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud