Menu

#29 Spaces before access specifiers, even with -code_decl_access

open
nobody
None
5
2006-07-11
2006-07-11
BobV
No

When using two access specifiers, extra spaces are
added right after the type specifier and the first
access specifier, even when -code_decl_access_to_type-
has been set.
Examples (after beautification):

IScheduler * &TestableReadersControl::mScheduler()
{
return m_pScheduler;
}

Reader ** TestableReadersControl::mReaders()
{
return m_pReaders;
}

const Configuration& TestableReadersControl::mConfig()
{
return m_Config;
}

--------------
Expected:

IScheduler*& TestableReadersControl::mScheduler()
{
return m_pScheduler;
}

Reader** TestableReadersControl::mReaders()
{
return m_pReaders;
}

const Configuration& TestableReadersControl::mConfig()
{
return m_Config;
}

Discussion

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.