clang:optin.performance.Padding in cppu
Excessive padding in 'struct cppu::IdContainer' (11 padding bytes, where 3 is optimal). Excessive padding in 'struct (anonymous namespace)::ObjectEntry' (11 padding bytes, where 3 is optimal). Change-Id: I39216b9927abeb8ec61ab590dc25bc203a112028 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/121921 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
This commit is contained in:
@@ -83,10 +83,10 @@ static typelib_InterfaceTypeDescription * get_type_XCurrentContext()
|
|||||||
IdContainer::IdContainer()
|
IdContainer::IdContainer()
|
||||||
: pCurrentContext(nullptr)
|
: pCurrentContext(nullptr)
|
||||||
, pCurrentContextEnv(nullptr)
|
, pCurrentContextEnv(nullptr)
|
||||||
, bInit(false)
|
|
||||||
, pLocalThreadId(nullptr)
|
, pLocalThreadId(nullptr)
|
||||||
, nRefCountOfCurrentId(0)
|
|
||||||
, pCurrentId(nullptr)
|
, pCurrentId(nullptr)
|
||||||
|
, nRefCountOfCurrentId(0)
|
||||||
|
, bInit(false)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -32,10 +32,10 @@ struct IdContainer
|
|||||||
void * pCurrentContext;
|
void * pCurrentContext;
|
||||||
_uno_ExtEnvironment * pCurrentContextEnv;
|
_uno_ExtEnvironment * pCurrentContextEnv;
|
||||||
|
|
||||||
bool bInit;
|
|
||||||
sal_Sequence * pLocalThreadId;
|
sal_Sequence * pLocalThreadId;
|
||||||
sal_Int32 nRefCountOfCurrentId;
|
|
||||||
sal_Sequence * pCurrentId;
|
sal_Sequence * pCurrentId;
|
||||||
|
sal_Int32 nRefCountOfCurrentId;
|
||||||
|
bool bInit;
|
||||||
|
|
||||||
IdContainer();
|
IdContainer();
|
||||||
~IdContainer();
|
~IdContainer();
|
||||||
|
@@ -75,8 +75,8 @@ struct InterfaceEntry
|
|||||||
struct ObjectEntry
|
struct ObjectEntry
|
||||||
{
|
{
|
||||||
OUString oid;
|
OUString oid;
|
||||||
sal_Int32 nRef;
|
|
||||||
std::vector< InterfaceEntry > aInterfaces;
|
std::vector< InterfaceEntry > aInterfaces;
|
||||||
|
sal_Int32 nRef;
|
||||||
bool mixedObject;
|
bool mixedObject;
|
||||||
|
|
||||||
explicit ObjectEntry( const OUString & rOId_ );
|
explicit ObjectEntry( const OUString & rOId_ );
|
||||||
|
Reference in New Issue
Block a user