================
@@ -119,7 +119,7 @@
lldb_private::formatters::LibcxxStdSpanSyntheticFrontEnd::Update() {
} else if (auto arg =
m_backend.GetCompilerType().GetIntegralTemplateArgument(1))
{
- m_num_elements = arg->value.getLimitedValue();
+ m_num_elements = arg->value.GetAPSInt().getLimitedValue();
----------------
Michael137 wrote:
Since `Scalar` default initializes both float and integer members, i removed
the `isInt` call from prior revisions here
https://github.com/llvm/llvm-project/pull/127206
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits