diff options
author | Justin Lebar <jlebar@google.com> | 2016-03-30 20:39:29 +0000 |
---|---|---|
committer | Justin Lebar <jlebar@google.com> | 2016-03-30 20:39:29 +0000 |
commit | 2fe132311205aa143f976c4922891a40d87583c3 (patch) | |
tree | b0cfaf65d3a92770fe4f00f790e44cf6d05b07dd /lldb/packages/Python/lldbsuite/test/api/multithreaded/TestMultithreaded.py | |
parent | c73c9d273dfe5b12ae50cc5f1a6c7b763ee1a746 (diff) | |
download | bcm5719-llvm-2fe132311205aa143f976c4922891a40d87583c3.tar.gz bcm5719-llvm-2fe132311205aa143f976c4922891a40d87583c3.zip |
[PassManager] Make PassManagerBuilder::addExtension take an std::function, rather than a function pointer.
Summary:
This gives callers flexibility to pass lambdas with captures, which lets
callers avoid the C-style void*-ptr closure style. (Currently, callers
in clang store state in the PassManagerBuilderBase arg.)
No functional change, and the new API is backwards-compatible.
Reviewers: chandlerc
Subscribers: joker.eph, cfe-commits
Differential Revision: http://reviews.llvm.org/D18613
llvm-svn: 264918
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/api/multithreaded/TestMultithreaded.py')
0 files changed, 0 insertions, 0 deletions