#5101 clang-format: Allow short functions on a single line

Use AllowShortFunctionsOnASingleLine: InlineOnly
This commit is contained in:
Magne Sjaastad
2020-02-12 11:13:38 +01:00
parent ab9d46ee75
commit 10f0abc9b5
428 changed files with 1519 additions and 1990 deletions

View File

@@ -29,4 +29,6 @@ RicfCommandObject::RicfCommandObject()
//--------------------------------------------------------------------------------------------------
///
//--------------------------------------------------------------------------------------------------
RicfCommandObject::~RicfCommandObject() {}
RicfCommandObject::~RicfCommandObject()
{
}

View File

@@ -32,4 +32,6 @@ RicfFieldHandle::RicfFieldHandle( caf::PdmFieldHandle* owner, bool giveOwnership
//--------------------------------------------------------------------------------------------------
///
//--------------------------------------------------------------------------------------------------
RicfFieldHandle::~RicfFieldHandle() {}
RicfFieldHandle::~RicfFieldHandle()
{
}

View File

@@ -42,15 +42,9 @@ public:
RicfFieldHandle( caf::PdmFieldHandle* owner, bool giveOwnership );
~RicfFieldHandle() override;
bool isIOWriteable() const
{
return m_IOWriteable;
}
bool isIOWriteable() const { return m_IOWriteable; }
void setIOWriteable( bool writeable )
{
m_IOWriteable = writeable;
}
void setIOWriteable( bool writeable ) { m_IOWriteable = writeable; }
virtual void readFieldData( QTextStream& inputStream,
caf::PdmObjectFactory* objectFactory,

View File

@@ -35,7 +35,9 @@ RicfObjectCapability::RicfObjectCapability( caf::PdmObjectHandle* owner, bool gi
//--------------------------------------------------------------------------------------------------
///
//--------------------------------------------------------------------------------------------------
RicfObjectCapability::~RicfObjectCapability() {}
RicfObjectCapability::~RicfObjectCapability()
{
}
//--------------------------------------------------------------------------------------------------
///