mirror of
https://github.com/VectorCamp/vectorscan.git
synced 2025-09-29 19:24:25 +03:00
Fix/Suppress remaining Cppcheck warnings (#291)
Fix/suppress the following cppcheck warnings: * arithOperationsOnVoidPointer * uninitMember * const* * shadowVariable * assignmentIntegerToAddress * containerOutOfBounds * pointer-related warnings in Ragel source * missingOverride * memleak * knownConditionTrueFalse * noExplicitConstructor * invalidPrintfArgType_sint * useStlAlgorithm * cstyleCast * clarifyCondition * VSX-related cstyleCast * unsignedLessThanZero Furthermore, we added a suppression list to be used, which also includes the following: * missingIncludeSystem * missingInclude * unmatchedSuppression
This commit is contained in:
committed by
GitHub
parent
cebc6541c1
commit
c837925087
@@ -223,7 +223,7 @@ class CorpusGeneratorImpl : public CorpusGenerator {
|
||||
public:
|
||||
CorpusGeneratorImpl(const NGHolder &graph_in, const ExpressionInfo &expr_in,
|
||||
CorpusProperties &props);
|
||||
virtual ~CorpusGeneratorImpl() = default;
|
||||
virtual ~CorpusGeneratorImpl() override = default;
|
||||
|
||||
void generateCorpus(vector<string> &data) override;
|
||||
|
||||
@@ -419,7 +419,7 @@ class CorpusGeneratorUtf8 : public CorpusGenerator {
|
||||
public:
|
||||
CorpusGeneratorUtf8(const NGHolder &graph_in, const ExpressionInfo &expr_in,
|
||||
CorpusProperties &props);
|
||||
~CorpusGeneratorUtf8() = default;
|
||||
virtual ~CorpusGeneratorUtf8() override = default;
|
||||
|
||||
void generateCorpus(vector<string> &data) override;
|
||||
|
||||
|
Reference in New Issue
Block a user