From 6232cb71f4012a52c9b52339c6e00195a37689d7 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Tue, 13 Oct 2020 17:03:44 +0200 Subject: [PATCH] loplugin:external (clang-cl) Change-Id: I2d636f229ea52505cc263ea0219cf9f00130effd Reviewed-on: https://gerrit.libreoffice.org/c/core/+/104241 Tested-by: Jenkins Reviewed-by: Stephan Bergmann --- bridges/source/cpp_uno/msvc_win32_x86-64/cpp2uno.cxx | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/bridges/source/cpp_uno/msvc_win32_x86-64/cpp2uno.cxx b/bridges/source/cpp_uno/msvc_win32_x86-64/cpp2uno.cxx index 34ba34fb2856..159eb99a4756 100644 --- a/bridges/source/cpp_uno/msvc_win32_x86-64/cpp2uno.cxx +++ b/bridges/source/cpp_uno/msvc_win32_x86-64/cpp2uno.cxx @@ -44,8 +44,13 @@ extern "C" typelib_TypeClass cpp_vtable_call(sal_Int64 nOffsetAndIndex, void ** } int const codeSnippetSize = 48; + +namespace { + typedef enum { REGPARAM_INT, REGPARAM_FLT } RegParamKind; +} + extern "C" char privateSnippetExecutor; // This function generates the code that acts as a proxy for the UNO function to be called.