summaryrefslogtreecommitdiff
path: root/sot
diff options
context:
space:
mode:
authorJan-Marek Glogowski <glogow@fbihome.de>2020-08-02 09:02:30 +0200
committerJan-Marek Glogowski <glogow@fbihome.de>2020-09-17 00:01:21 +0200
commit8c3e6666c5ef612a20575e0ebcd5757ba21c47f8 (patch)
tree8d5e9c9368940c7b06c67f8f1875fc456c4656b6 /sot
parent52ac46d798a1787baca33cdf9e1c2fd768559522 (diff)
WIN bridges: unify exception handling
This is almost just refactoring, but with classes like type_info_ and __type_info, just following the code became tendious. I tried to come up with better names... and in the end included some minor code changes described below. This patch moves the "common" code for MSVC exception handling into msvc_shared/except.cxx. Still it contains a few small ifdefs, so it doesn't feel like clean separation, but a lot of duplicate code is dropped this way. The "major" code change for amd64 is the drop of the duplicate static RTTInfo object originally used by mscx_getRTTI and mscx_getRTTI_len, by merging of both functions into the single, new get() function to use a single std::find call. Change-Id: Ib07d40e2794cde79156be3324c80ccf21a6aa8ed Reviewed-on: https://gerrit.libreoffice.org/c/core/+/102864 Tested-by: Jenkins Reviewed-by: Jan-Marek Glogowski <glogow@fbihome.de>
Diffstat (limited to 'sot')
0 files changed, 0 insertions, 0 deletions