summaryrefslogtreecommitdiff
path: root/lldb/include/lldb/Breakpoint/BreakpointResolverFileLine.h
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/include/lldb/Breakpoint/BreakpointResolverFileLine.h')
-rw-r--r--lldb/include/lldb/Breakpoint/BreakpointResolverFileLine.h20
1 files changed, 12 insertions, 8 deletions
diff --git a/lldb/include/lldb/Breakpoint/BreakpointResolverFileLine.h b/lldb/include/lldb/Breakpoint/BreakpointResolverFileLine.h
index 9ca48ecf0dc0..222fc6fcd45d 100644
--- a/lldb/include/lldb/Breakpoint/BreakpointResolverFileLine.h
+++ b/lldb/include/lldb/Breakpoint/BreakpointResolverFileLine.h
@@ -6,8 +6,8 @@
//
//===----------------------------------------------------------------------===//
-#ifndef liblldb_BreakpointResolverFileLine_h_
-#define liblldb_BreakpointResolverFileLine_h_
+#ifndef LLDB_BREAKPOINT_BREAKPOINTRESOLVERFILELINE_H
+#define LLDB_BREAKPOINT_BREAKPOINTRESOLVERFILELINE_H
#include "lldb/Breakpoint/BreakpointResolver.h"
@@ -20,19 +20,20 @@ namespace lldb_private {
class BreakpointResolverFileLine : public BreakpointResolver {
public:
- BreakpointResolverFileLine(Breakpoint *bkpt, const FileSpec &resolver,
+ BreakpointResolverFileLine(const lldb::BreakpointSP &bkpt,
+ const FileSpec &resolver,
uint32_t line_no, uint32_t column,
lldb::addr_t m_offset, bool check_inlines,
bool skip_prologue, bool exact_match);
static BreakpointResolver *
- CreateFromStructuredData(Breakpoint *bkpt,
+ CreateFromStructuredData(const lldb::BreakpointSP &bkpt,
const StructuredData::Dictionary &data_dict,
Status &error);
StructuredData::ObjectSP SerializeToStructuredData() override;
- ~BreakpointResolverFileLine() override;
+ ~BreakpointResolverFileLine() override = default;
Searcher::CallbackReturn SearchCallback(SearchFilter &filter,
SymbolContext &context,
@@ -52,7 +53,8 @@ public:
return V->getResolverID() == BreakpointResolver::FileLineResolver;
}
- lldb::BreakpointResolverSP CopyForBreakpoint(Breakpoint &breakpoint) override;
+ lldb::BreakpointResolverSP
+ CopyForBreakpoint(lldb::BreakpointSP &breakpoint) override;
protected:
void FilterContexts(SymbolContextList &sc_list, bool is_relative);
@@ -67,9 +69,11 @@ protected:
bool m_exact_match;
private:
- DISALLOW_COPY_AND_ASSIGN(BreakpointResolverFileLine);
+ BreakpointResolverFileLine(const BreakpointResolverFileLine &) = delete;
+ const BreakpointResolverFileLine &
+ operator=(const BreakpointResolverFileLine &) = delete;
};
} // namespace lldb_private
-#endif // liblldb_BreakpointResolverFileLine_h_
+#endif // LLDB_BREAKPOINT_BREAKPOINTRESOLVERFILELINE_H