aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineFunction.cpp
diff options
context:
space:
mode:
authorJonas Devlieghere <jonas@devlieghere.com>2020-02-18 23:52:07 -0800
committerJonas Devlieghere <jonas@devlieghere.com>2020-02-18 23:58:29 -0800
commit80b2e3cc531206c6e6f23dcc49b83b9ace641025 (patch)
tree7120489ee4e672ed6b7f4a42a531732e93000879 /llvm/lib/CodeGen/MachineFunction.cpp
parent2a095ff6f5028b7612dae50358a2f6939b6cdc9f (diff)
downloadllvm-80b2e3cc531206c6e6f23dcc49b83b9ace641025.zip
llvm-80b2e3cc531206c6e6f23dcc49b83b9ace641025.tar.gz
llvm-80b2e3cc531206c6e6f23dcc49b83b9ace641025.tar.bz2
[lldb/Core] Remove more duplicate code in PluginManager (NFCI)
The PluginManager contains a lot of duplicate code. I already removed a bunch of it by introducing the templated PluginInstance class, and this is the next step. The PluginInstances class combines the mutex and the vector and implements the common operations. To accommodate plugin instances with additional members it is possible to access the underlying vector and mutex. The methods to query these fields make use of that. Differential revision: https://reviews.llvm.org/D74816
Diffstat (limited to 'llvm/lib/CodeGen/MachineFunction.cpp')
0 files changed, 0 insertions, 0 deletions