diff options
author | Mike Kaganski <mike.kaganski@collabora.com> | 2018-09-17 11:47:43 +0200 |
---|---|---|
committer | Mike Kaganski <mike.kaganski@collabora.com> | 2018-09-17 14:18:20 +0200 |
commit | 9fb1bd0365c469d33ddecda9602258a523f80885 (patch) | |
tree | c372749cad01f84b75f1d7ae62c28b50b1cea1b0 /solenv | |
parent | e41e2bbce9c5351e93b244ff5aedc538b4062184 (diff) |
Natvis: add boost::optional
Change-Id: I64c5ff89bedcee0d955e4aa12035302e413d0c02
Reviewed-on: https://gerrit.libreoffice.org/60567
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Tested-by: Mike Kaganski <mike.kaganski@collabora.com>
Diffstat (limited to 'solenv')
-rw-r--r-- | solenv/vs/LibreOffice.natvis | 8 |
1 files changed, 8 insertions, 0 deletions
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> |