CheckBasicStyle: Check number of empty lines between functions (#4267)
Add check for number of empty lines between functions and fix the corresponding failures
This commit is contained in:
@@ -13,7 +13,6 @@
|
||||
|
||||
|
||||
|
||||
|
||||
class cHTTPMessage
|
||||
{
|
||||
public:
|
||||
|
||||
@@ -119,6 +119,7 @@ void cHTTPMessageParser::Reset(void)
|
||||
|
||||
|
||||
|
||||
|
||||
size_t cHTTPMessageParser::ParseFirstLine(void)
|
||||
{
|
||||
auto idxLineEnd = m_Buffer.find("\r\n");
|
||||
@@ -136,6 +137,7 @@ size_t cHTTPMessageParser::ParseFirstLine(void)
|
||||
|
||||
|
||||
|
||||
|
||||
size_t cHTTPMessageParser::ParseBody(const char * a_Data, size_t a_Size)
|
||||
{
|
||||
if (m_TransferEncodingParser == nullptr)
|
||||
|
||||
@@ -27,7 +27,6 @@ class cSslConfig;
|
||||
|
||||
|
||||
|
||||
|
||||
class cHTTPServer
|
||||
{
|
||||
public:
|
||||
|
||||
@@ -142,7 +142,6 @@ void cHTTPServerConnection::OnRemoteClosed(void)
|
||||
|
||||
|
||||
|
||||
|
||||
void cHTTPServerConnection::OnError(int a_ErrorCode, const AString & a_ErrorMsg)
|
||||
{
|
||||
OnRemoteClosed();
|
||||
|
||||
@@ -10,7 +10,6 @@
|
||||
|
||||
|
||||
|
||||
|
||||
// DEBUG: Self-test
|
||||
|
||||
#if 0
|
||||
|
||||
Reference in New Issue
Block a user