summaryrefslogtreecommitdiff
path: root/solenv/vs
diff options
context:
space:
mode:
authorMike Kaganski <mike.kaganski@collabora.com>2018-12-18 11:35:32 +0100
committerMike Kaganski <mike.kaganski@collabora.com>2018-12-18 13:59:05 +0100
commit081e27cac597d13f80a9e826fd15d3e8756a7f25 (patch)
treeb9c51a4dfa0c21dfd9cab4bca674f3d95b4845ab /solenv/vs
parent6251e4080f4c1ed3bf1a5d615fc3ebdda4c87059 (diff)
Natvis: VS has trouble showing sequence of signed char
Provide a visualizer specialization for this case Change-Id: I54c293972c7e883b8328958f748dba5f2dbd0636 Reviewed-on: https://gerrit.libreoffice.org/65327 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Diffstat (limited to 'solenv/vs')
-rw-r--r--solenv/vs/LibreOffice.natvis10
1 files changed, 10 insertions, 0 deletions
diff --git a/solenv/vs/LibreOffice.natvis b/solenv/vs/LibreOffice.natvis
index 409ccd5919c8..8640779ac7bd 100644
--- a/solenv/vs/LibreOffice.natvis
+++ b/solenv/vs/LibreOffice.natvis
@@ -113,6 +113,16 @@
<DisplayString Condition="nElements == 0">_sal_Sequence (empty)</DisplayString>
<DisplayString>_sal_Sequence of {nElements,d} elements</DisplayString>
</Type>
+ <Type Name="com::sun::star::uno::Sequence &lt; signed char &gt;">
+ <DisplayString Condition="_pSequence->nElements == 0">Sequence (empty)</DisplayString>
+ <DisplayString>Sequence of {_pSequence->nElements,d} signed char</DisplayString>
+ <Expand>
+ <ArrayItems>
+ <Size>_pSequence->nElements</Size>
+ <ValuePointer>reinterpret_cast &lt; const char* &gt;( _pSequence->elements )</ValuePointer>
+ </ArrayItems>
+ </Expand>
+ </Type>
<Type Name="com::sun::star::uno::Sequence &lt; * &gt;">
<DisplayString Condition="_pSequence->nElements == 0">Sequence (empty)</DisplayString>
<DisplayString>Sequence of {_pSequence->nElements,d} {"$T1",sb}</DisplayString>
d -Werror=deprecated-declarations with recent Clang trunkStephan Bergmann ...which first added alternative names to and then deprecated getLocBegin/End Change-Id: Iaefb8ce259057abfa6cd20f0b63c0ef2949a96b2 Reviewed-on: https://gerrit.libreoffice.org/58820 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com> 2017-11-07Clean away temporarily added using declarationsStephan Bergmann Change-Id: I26734c13515394162d88351a1cbe2b20abdac865 2016-06-29Remove support for Clang < 3.4Stephan Bergmann Change-Id: I81e97c5f720535b33dd3ce72d01151765e4e93a0 2016-01-05new loplugin rangedforcopy - use reference in range based forAndrzej Hunt Inspired by 6e6ae9803796b120e95f6e89575e03c5fd0ed3c2 Change-Id: Ia0f264d3a6bbf076aa5080e3398683e50bc6ef01 Reviewed-on: https://gerrit.libreoffice.org/20190 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>