Coverage Report

Created: 2026-02-09 06:05

next uncovered line (L), next uncovered region (R), next uncovered branch (B)
/src/CMake/Source/cmDebuggerSourceBreakpoint.h
Line
Count
Source
1
/* Distributed under the OSI-approved BSD 3-Clause License.  See accompanying
2
   file LICENSE.rst or https://cmake.org/licensing for details.  */
3
#pragma once
4
5
#include "cmConfigure.h" // IWYU pragma: keep
6
7
#include <cstdint>
8
9
namespace cmDebugger {
10
11
class cmDebuggerSourceBreakpoint
12
{
13
  int64_t Id;
14
  int64_t Line;
15
  bool IsValid = true;
16
17
public:
18
  cmDebuggerSourceBreakpoint(int64_t id, int64_t line);
19
0
  int64_t GetId() const noexcept { return this->Id; }
20
0
  int64_t GetLine() const noexcept { return this->Line; }
21
0
  void ChangeLine(int64_t line) noexcept { this->Line = line; }
22
0
  bool GetIsValid() const noexcept { return this->IsValid; }
23
0
  void Invalid() noexcept { this->IsValid = false; }
24
};
25
26
} // namespace cmDebugger