[mlir][int-range] Limit xor int range inference to i1 (#116968)
[llvm-project.git] / lldb / tools / lldb-dap / Breakpoint.h
bloba726f27e59ee0046e0dc7abc3de417e3b659285d
1 //===-- Breakpoint.h --------------------------------------------*- C++ -*-===//
2 //
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4 // See https://llvm.org/LICENSE.txt for license information.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6 //
7 //===----------------------------------------------------------------------===//
9 #ifndef LLDB_TOOLS_LLDB_DAP_BREAKPOINT_H
10 #define LLDB_TOOLS_LLDB_DAP_BREAKPOINT_H
12 #include "BreakpointBase.h"
13 #include "DAPForward.h"
14 #include "lldb/API/SBBreakpoint.h"
16 namespace lldb_dap {
18 struct Breakpoint : public BreakpointBase {
19 // The LLDB breakpoint associated wit this source breakpoint
20 lldb::SBBreakpoint bp;
22 Breakpoint(DAP &d, const llvm::json::Object &obj) : BreakpointBase(d, obj) {}
23 Breakpoint(DAP &d, lldb::SBBreakpoint bp) : BreakpointBase(d), bp(bp) {}
25 void SetCondition() override;
26 void SetHitCondition() override;
27 void CreateJsonObject(llvm::json::Object &object) override;
29 bool MatchesName(const char *name);
30 void SetBreakpoint();
32 } // namespace lldb_dap
34 #endif