diff options
author | Zachary Turner <zturner@roblox.com> | 2019-11-20 11:27:14 -0800 |
---|---|---|
committer | Zachary Turner <zturner@roblox.com> | 2019-12-02 15:36:26 -0800 |
commit | 64f74bf72eb484aa32e1104050cb54745116decf (patch) | |
tree | 16787356f6c7c67b23b603098880a12eb55fca28 /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPythonImpl.h | |
parent | 87f146767ed709f6e354fe46f325c5b6848ad428 (diff) | |
download | bcm5719-llvm-64f74bf72eb484aa32e1104050cb54745116decf.tar.gz bcm5719-llvm-64f74bf72eb484aa32e1104050cb54745116decf.zip |
[clang-tidy] Rewrite modernize-avoid-bind check.
This represents largely a full re-write of modernize-avoid-bind, adding
significant new functionality in the process. In particular:
* Both boost::bind and std::bind are now supported
* Function objects are supported in addition to functions
* Member functions are supported
* Nested calls are supported using capture-init syntax
* std::ref() and boost::ref() are now recognized, and will capture by reference.
* Rather than capturing with a global =, we now build up an individual
capture list that is both necessary and sufficient for the call.
* Fixits are supported in a much larger variety of scenarios than before.
All previous tests pass under the re-write, but a large number of new
tests have been added as well.
Differential Revision: https://reviews.llvm.org/D70368
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPythonImpl.h')
0 files changed, 0 insertions, 0 deletions