Skip to content
Snippets Groups Projects
Commit 828b1f2e authored by Jan Travnicek's avatar Jan Travnicek
Browse files

fix clang tidy warnings

parent b206754d
No related branches found
No related tags found
1 merge request!86Dev tp
Pipeline #37942 passed with warnings
...@@ -107,7 +107,7 @@ ext::ptr_value < regexp::UnboundedRegExpElement < SymbolType > > RandomRegExpFac ...@@ -107,7 +107,7 @@ ext::ptr_value < regexp::UnboundedRegExpElement < SymbolType > > RandomRegExpFac
   
childNodes = childNodes > n ? n : childNodes; childNodes = childNodes > n ? n : childNodes;
   
int subSizes[4]; int subSizes[4] = {0};
if(childNodes == 4) { if(childNodes == 4) {
subSizes[3] = ext::random_devices::semirandom() % ( n - 1 ); subSizes[3] = ext::random_devices::semirandom() % ( n - 1 );
subSizes[2] = ext::random_devices::semirandom() % ( n - subSizes[3] - 1 ); subSizes[2] = ext::random_devices::semirandom() % ( n - subSizes[3] - 1 );
......
...@@ -73,7 +73,7 @@ extern const int FAIL_FD; ...@@ -73,7 +73,7 @@ extern const int FAIL_FD;
* Class representing buffered stream designed to work on defined file descriptor instead of usual file name. * Class representing buffered stream designed to work on defined file descriptor instead of usual file name.
* *
*/ */
class fdstreambuf : public std::streambuf { class fdstreambuf final : public std::streambuf {
/** /**
* \brief * \brief
* The size of the internal buffer. * The size of the internal buffer.
......
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
   
#include <lexer/CharSequenceBase.h> #include <lexer/CharSequenceBase.h>
   
class ReadlineCharSequence : public cli::CharSequenceBase { class ReadlineCharSequence final : public cli::CharSequenceBase {
std::vector < std::string > m_lines; std::vector < std::string > m_lines;
bool first = true; bool first = true;
bool forceReadLine = false; bool forceReadLine = false;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment