[Lldb-commits] [lldb] [lldb] Fix the return type of a function (NFC) (PR #189316)
Sergei Barannikov via lldb-commits
lldb-commits at lists.llvm.org
Sun Mar 29 22:04:05 PDT 2026
https://github.com/s-barannikov created https://github.com/llvm/llvm-project/pull/189316
The returned variable is of boolean type.
>From 574535341b8a1d8036136c38ff9c7de9a8f588e9 Mon Sep 17 00:00:00 2001
From: Sergei Barannikov <barannikov88 at gmail.com>
Date: Mon, 30 Mar 2026 08:02:54 +0300
Subject: [PATCH] [lldb] Fix the return type of a function (NFC)
The returned variable is of boolean type.
---
lldb/include/lldb/Breakpoint/BreakpointResolver.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lldb/include/lldb/Breakpoint/BreakpointResolver.h b/lldb/include/lldb/Breakpoint/BreakpointResolver.h
index 243aceeb6fd6a..7be6b7a94c618 100644
--- a/lldb/include/lldb/Breakpoint/BreakpointResolver.h
+++ b/lldb/include/lldb/Breakpoint/BreakpointResolver.h
@@ -76,7 +76,7 @@ class BreakpointResolver : public Searcher {
void SetOffset(lldb::addr_t offset);
lldb::addr_t GetOffset() const { return m_offset; }
- lldb::addr_t GetOffsetIsInsnCount() const { return m_offset_is_insn_count; }
+ bool GetOffsetIsInsnCount() const { return m_offset_is_insn_count; }
/// In response to this method the resolver scans all the modules in the
/// breakpoint's target, and adds any new locations it finds.
More information about the lldb-commits
mailing list