diff options
author | Jan-Marek Glogowski <glogow@fbihome.de> | 2020-08-02 09:02:30 +0200 |
---|---|---|
committer | Jan-Marek Glogowski <glogow@fbihome.de> | 2020-09-17 00:01:21 +0200 |
commit | 8c3e6666c5ef612a20575e0ebcd5757ba21c47f8 (patch) | |
tree | 8d5e9c9368940c7b06c67f8f1875fc456c4656b6 /solenv/clang-format | |
parent | 52ac46d798a1787baca33cdf9e1c2fd768559522 (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 'solenv/clang-format')
-rw-r--r-- | solenv/clang-format/excludelist | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/solenv/clang-format/excludelist b/solenv/clang-format/excludelist index f9d0dfd5f1b4..a47fe865da53 100644 --- a/solenv/clang-format/excludelist +++ b/solenv/clang-format/excludelist @@ -630,11 +630,9 @@ bridges/source/cpp_uno/gcc3_solaris_sparc/share.hxx bridges/source/cpp_uno/gcc3_solaris_sparc/uno2cpp.cxx bridges/source/cpp_uno/msvc_win32_intel/cpp2uno.cxx bridges/source/cpp_uno/msvc_win32_intel/except.cxx -bridges/source/cpp_uno/msvc_win32_intel/msci.hxx bridges/source/cpp_uno/msvc_win32_intel/uno2cpp.cxx bridges/source/cpp_uno/msvc_win32_x86-64/cpp2uno.cxx bridges/source/cpp_uno/msvc_win32_x86-64/except.cxx -bridges/source/cpp_uno/msvc_win32_x86-64/mscx.hxx bridges/source/cpp_uno/msvc_win32_x86-64/uno2cpp.cxx bridges/source/cpp_uno/shared/bridge.cxx bridges/source/cpp_uno/shared/component.cxx |