[Lldb-commits] [lldb] Change GetNumChildren()/CalculateNumChildren() methods return llvm::Expected (PR #84219)

Florian Mayer via lldb-commits lldb-commits at lists.llvm.org
Fri Mar 8 12:14:12 PST 2024


fmayer wrote:

I think this broke the build completely?

```
/usr/local/google/home/fmayer/large/llvm-project/lldb/source/Plugins/ABI/PowerPC/ABISysV_ppc64.cpp:771:14: error: no viable conversion from 'llvm::Expected<uint32_t>' (aka 'Expected<unsigned int>') to 'uint32_t' (aka 'unsigned int')
    uint32_t n = m_type.GetNumChildren(omit_empty_base_classes, nullptr);
             ^   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```

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


More information about the lldb-commits mailing list