File tree Expand file tree Collapse file tree 1 file changed +0
-19
lines changed
lldb/source/Plugins/SymbolFile/DWARF Expand file tree Collapse file tree 1 file changed +0
-19
lines changed Original file line number Diff line number Diff line change @@ -145,25 +145,6 @@ class DWARFIndex {
145145 IterationAction ProcessNamespaceDieMatchParents (
146146 const CompilerDeclContext &parent_decl_ctx, DWARFDIE die,
147147 llvm::function_ref<IterationAction(DWARFDIE die)> callback);
148-
149- // / Helper to convert callbacks that return an \c IterationAction
150- // / to a callback that returns a \c bool, where \c true indicates
151- // / we should continue iterating. This will be used to incrementally
152- // / migrate the callbacks to return an \c IterationAction.
153- // /
154- // / FIXME: remove once all callbacks in the DWARFIndex APIs return
155- // / IterationAction.
156- struct IterationActionAdaptor {
157- IterationActionAdaptor (
158- llvm::function_ref<IterationAction(DWARFDIE die)> callback)
159- : m_callback_ref(callback) {}
160-
161- bool operator ()(DWARFDIE die) {
162- return m_callback_ref (std::move (die)) == IterationAction::Continue;
163- }
164-
165- llvm::function_ref<IterationAction(DWARFDIE die)> m_callback_ref;
166- };
167148};
168149} // namespace dwarf
169150} // namespace lldb_private::plugin
You can’t perform that action at this time.
0 commit comments