[Lldb-commits] [lldb] [lldb] Make single-argument Address constructor explicit (NFC) (PR #189035)

Jonas Devlieghere via lldb-commits lldb-commits at lists.llvm.org
Fri Mar 27 09:53:22 PDT 2026


================
@@ -49,8 +49,8 @@ BreakpointLocation::BreakpointLocation(break_id_t loc_id, Breakpoint &owner,
 
 BreakpointLocation::BreakpointLocation(break_id_t loc_id, Breakpoint &owner)
     : m_should_resolve_indirect_functions(false), m_is_reexported(false),
-      m_is_indirect(false), m_address(LLDB_INVALID_ADDRESS), m_owner(owner),
-      m_condition_hash(0), m_loc_id(loc_id), m_hit_counter() {
+      m_is_indirect(false), m_owner(owner), m_condition_hash(0),
----------------
JDevlieghere wrote:

Thanks for confirming. For a long time, the unwritten policy/common practice was to list all the members but more recently, we've been moving away from that, preferring default member initializers in C++11. Rather than doing a big change that fixes that across LLDB (which is [discouraged](https://llvm.org/docs/CodingStandards.html#introduction)) we usually just fix it when we're touching the code, hence why I brought it up here. 

https://github.com/llvm/llvm-project/pull/189035


More information about the lldb-commits mailing list