aboutsummaryrefslogtreecommitdiff
path: root/lldb/source
diff options
context:
space:
mode:
authorAlex Langford <alangford@apple.com>2023-11-09 13:34:59 -0800
committerGitHub <noreply@github.com>2023-11-09 13:34:59 -0800
commitfe98cce6a91c7240a541b213d43d1132c684fd9c (patch)
tree351df2a17ac2bb101a2bf10db70e4623b8cd7b18 /lldb/source
parentd8a4011f5b284ec055ceab91815d6e656c0b6dc5 (diff)
downloadllvm-fe98cce6a91c7240a541b213d43d1132c684fd9c.zip
llvm-fe98cce6a91c7240a541b213d43d1132c684fd9c.tar.gz
llvm-fe98cce6a91c7240a541b213d43d1132c684fd9c.tar.bz2
[lldb] Change Breakpoint::AddName return value (#71236)
The return value is completely unused. Let's just return nothing.
Diffstat (limited to 'lldb/source')
-rw-r--r--lldb/source/Breakpoint/Breakpoint.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/lldb/source/Breakpoint/Breakpoint.cpp b/lldb/source/Breakpoint/Breakpoint.cpp
index ff4f195..a94498a 100644
--- a/lldb/source/Breakpoint/Breakpoint.cpp
+++ b/lldb/source/Breakpoint/Breakpoint.cpp
@@ -841,9 +841,8 @@ bool Breakpoint::HasResolvedLocations() const {
size_t Breakpoint::GetNumLocations() const { return m_locations.GetSize(); }
-bool Breakpoint::AddName(llvm::StringRef new_name) {
+void Breakpoint::AddName(llvm::StringRef new_name) {
m_name_list.insert(new_name.str());
- return true;
}
void Breakpoint::GetDescription(Stream *s, lldb::DescriptionLevel level,