[Lldb-commits] [lldb] [lldb] Turn LineEntry into a class and make AddressRange member optional (PR #158811)

Alex Langford via lldb-commits lldb-commits at lists.llvm.org
Tue Sep 16 12:08:45 PDT 2025


bulbazord wrote:

> Can we break this up into an NFC patch that makes `LineEntry` a class and a separate PR for the functional change that makes `AddressRange` optional?

+1.

Why do you want to turn it into a class? In C++, the only difference between a class and a struct is the default access level. Structs are public by default, Classes are private by default.

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


More information about the lldb-commits mailing list