[Lldb-commits] [lldb] [lldb][TypeSynthetic][NFC] Make SyntheticChildrenFrontend::Update() return an enum (PR #80167)

Michael Buch via lldb-commits lldb-commits at lists.llvm.org
Tue Apr 9 14:36:36 PDT 2024


Michael137 wrote:

> @Michael137 I'm a little late to the party but I just noticed that `ChildCacheState` is the only `enum class` in `lldb-enumerations.h`. Is that intentional? Is there a reason this cannot be a old-school enum like everything else in that file? I don't feel super strongly about I'd like to make sure there's a reason for the inconsistency.

No particular reason apart from it being scoped, which I thought we might prefer for new enums. But there's no reason it couldn't be an old-school enum

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


More information about the lldb-commits mailing list