Valgrind: Modernize

modernize-*

Change-Id: I6db60dce78cf2575e36caa597b1f095adba34fd9
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
This commit is contained in:
Alessandro Portale
2018-12-10 08:11:18 +01:00
parent 390a227df6
commit 00ec6dfb5d
53 changed files with 182 additions and 294 deletions

View File

@@ -39,10 +39,6 @@ using namespace Valgrind::XmlProtocol;
class SuppressionFrame::Private : public QSharedData
{
public:
Private()
{
}
QString obj;
QString fun;
};
@@ -52,14 +48,9 @@ SuppressionFrame::SuppressionFrame()
{
}
SuppressionFrame::SuppressionFrame(const SuppressionFrame &other)
: d(other.d)
{
}
SuppressionFrame::SuppressionFrame(const SuppressionFrame &other) = default;
SuppressionFrame::~SuppressionFrame()
{
}
SuppressionFrame::~SuppressionFrame() = default;
void SuppressionFrame::swap(SuppressionFrame &other)
{
@@ -110,12 +101,7 @@ QString SuppressionFrame::toString() const
class Suppression::Private : public QSharedData
{
public:
Private()
: isNull(true)
{
}
bool isNull;
bool isNull = true;
QString name;
QString kind;
QString auxkind;
@@ -128,14 +114,9 @@ Suppression::Suppression()
{
}
Suppression::Suppression(const Suppression &other)
: d(other.d)
{
}
Suppression::Suppression(const Suppression &other) = default;
Suppression::~Suppression()
{
}
Suppression::~Suppression() = default;
void Suppression::swap(Suppression &other)
{