diff options
| author | Kazu Hirata <kazu@google.com> | 2025-11-21 20:31:54 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-11-21 20:31:54 -0800 |
| commit | cc7e2067b1a0fd799a5bfeab4b11d399ea7831a2 (patch) | |
| tree | 1dfff29a4c01ceafef442129b2418e6d76306206 | |
| parent | b6dadc7e4d263e9983418d5362653edd4575c1b2 (diff) | |
[lldb] Remove redundant declarations (NFC) (#169003)
In C++17, static constexpr members are implicitly inline, so they no
longer require an out-of-line definition.
Identified with readability-redundant-declaration.
| -rw-r--r-- | lldb/source/Target/Target.cpp | 2 | ||||
| -rw-r--r-- | lldb/source/Utility/StringExtractorGDBRemote.cpp | 3 |
2 files changed, 0 insertions, 5 deletions
diff --git a/lldb/source/Target/Target.cpp b/lldb/source/Target/Target.cpp index 6fc8053038d1..5f2e7af54044 100644 --- a/lldb/source/Target/Target.cpp +++ b/lldb/source/Target/Target.cpp @@ -156,8 +156,6 @@ static Status installExecutable(const Installer &installer) { return Status(); } -constexpr std::chrono::milliseconds EvaluateExpressionOptions::default_timeout; - Target::Arch::Arch(const ArchSpec &spec) : m_spec(spec), m_plugin_up(PluginManager::CreateArchitectureInstance(spec)) {} diff --git a/lldb/source/Utility/StringExtractorGDBRemote.cpp b/lldb/source/Utility/StringExtractorGDBRemote.cpp index 010149ad4b38..40b5d037d046 100644 --- a/lldb/source/Utility/StringExtractorGDBRemote.cpp +++ b/lldb/source/Utility/StringExtractorGDBRemote.cpp @@ -12,9 +12,6 @@ #include <cstring> #include <optional> -constexpr lldb::pid_t StringExtractorGDBRemote::AllProcesses; -constexpr lldb::tid_t StringExtractorGDBRemote::AllThreads; - StringExtractorGDBRemote::ResponseType StringExtractorGDBRemote::GetResponseType() const { if (m_packet.empty()) |
