astyle formatting
This commit is contained in:
parent
913789605f
commit
2a8fa6d19c
|
@ -52,7 +52,7 @@ private:
|
||||||
|
|
||||||
public:
|
public:
|
||||||
CheckMemoryLeak(const Tokenizer *t, ErrorLogger *e)
|
CheckMemoryLeak(const Tokenizer *t, ErrorLogger *e)
|
||||||
: tokenizer(t), errorLogger(e)
|
: tokenizer(t), errorLogger(e)
|
||||||
{
|
{
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -172,7 +172,7 @@ private:
|
||||||
class CheckMemoryLeakInClass : public Check, private CheckMemoryLeak
|
class CheckMemoryLeakInClass : public Check, private CheckMemoryLeak
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
CheckMemoryLeakInClass() : Check(), CheckMemoryLeak(0,0)
|
CheckMemoryLeakInClass() : Check(), CheckMemoryLeak(0, 0)
|
||||||
{ }
|
{ }
|
||||||
|
|
||||||
CheckMemoryLeakInClass(const Tokenizer *tokenizer, const Settings *settings, ErrorLogger *errorLogger)
|
CheckMemoryLeakInClass(const Tokenizer *tokenizer, const Settings *settings, ErrorLogger *errorLogger)
|
||||||
|
@ -218,7 +218,7 @@ private:
|
||||||
class CheckMemoryLeakStructMember : public Check, private CheckMemoryLeak
|
class CheckMemoryLeakStructMember : public Check, private CheckMemoryLeak
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
CheckMemoryLeakStructMember() : Check(), CheckMemoryLeak(0,0)
|
CheckMemoryLeakStructMember() : Check(), CheckMemoryLeak(0, 0)
|
||||||
{ }
|
{ }
|
||||||
|
|
||||||
CheckMemoryLeakStructMember(const Tokenizer *tokenizer, const Settings *settings, ErrorLogger *errorLogger)
|
CheckMemoryLeakStructMember(const Tokenizer *tokenizer, const Settings *settings, ErrorLogger *errorLogger)
|
||||||
|
|
|
@ -344,14 +344,14 @@ public:
|
||||||
{
|
{
|
||||||
switch (severity)
|
switch (severity)
|
||||||
{
|
{
|
||||||
case error:
|
case error:
|
||||||
return "error";
|
return "error";
|
||||||
case style:
|
case style:
|
||||||
return "style";
|
return "style";
|
||||||
case possibleError:
|
case possibleError:
|
||||||
return "possible error";
|
return "possible error";
|
||||||
case possibleStyle:
|
case possibleStyle:
|
||||||
return "possible style";
|
return "possible style";
|
||||||
};
|
};
|
||||||
return "???";
|
return "???";
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue