[Lldb-commits] [lldb] [lldb] Remove duplicate else-if branch (NFC) (PR #81018)
Dave Lee via lldb-commits
lldb-commits at lists.llvm.org
Wed Feb 7 10:08:53 PST 2024
https://github.com/kastiglione created https://github.com/llvm/llvm-project/pull/81018
None
>From 4f5b30fcb038c942df6a2fce975678c5b7ee1725 Mon Sep 17 00:00:00 2001
From: Dave Lee <davelee.com at gmail.com>
Date: Wed, 7 Feb 2024 08:43:14 -0800
Subject: [PATCH] [lldb] Remove duplicate else-if branch (NFC)
---
lldb/source/Core/FormatEntity.cpp | 3 ---
1 file changed, 3 deletions(-)
diff --git a/lldb/source/Core/FormatEntity.cpp b/lldb/source/Core/FormatEntity.cpp
index 3c665c2eb2133b..2a68d3938a201d 100644
--- a/lldb/source/Core/FormatEntity.cpp
+++ b/lldb/source/Core/FormatEntity.cpp
@@ -2203,9 +2203,6 @@ static Status ParseInternal(llvm::StringRef &format, Entry &parent_entry,
entry.printf_format.c_str());
return error;
}
- } else if (FormatManager::GetFormatFromCString(
- entry.printf_format.c_str(), true, entry.fmt)) {
- clear_printf = true;
} else if (entry.printf_format == "tid") {
verify_is_thread_id = true;
} else {
More information about the lldb-commits
mailing list