solenv/vs/LibreOffice.natvis | 8 ++++++++ 1 file changed, 8 insertions(+)
New commits: commit 9fb1bd0365c469d33ddecda9602258a523f80885 Author: Mike Kaganski <[email protected]> AuthorDate: Mon Sep 17 11:47:43 2018 +0200 Commit: Mike Kaganski <[email protected]> CommitDate: Mon Sep 17 14:18:20 2018 +0200 Natvis: add boost::optional Change-Id: I64c5ff89bedcee0d955e4aa12035302e413d0c02 Reviewed-on: https://gerrit.libreoffice.org/60567 Reviewed-by: Mike Kaganski <[email protected]> Tested-by: Mike Kaganski <[email protected]> diff --git a/solenv/vs/LibreOffice.natvis b/solenv/vs/LibreOffice.natvis index 0a53a1161fad..409ccd5919c8 100644 --- a/solenv/vs/LibreOffice.natvis +++ b/solenv/vs/LibreOffice.natvis @@ -450,4 +450,12 @@ <ExpandedItem>(SwLayoutFrame&)(*this)</ExpandedItem> </Expand> </Type> + <Type Name="boost::optional<*>"> + <DisplayString Condition="!m_initialized">Optional not set</DisplayString> + <DisplayString>{*reinterpret_cast<$T1 *>(m_storage.dummy_.data)}</DisplayString> + <Expand> + <Item Name="initialized">m_initialized</Item> + <Item Name="data">*reinterpret_cast<$T1 *>(m_storage.dummy_.data)</Item> + </Expand> + </Type> </AutoVisualizer> _______________________________________________ Libreoffice-commits mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
