Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions lib/check64bit.h
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,6 @@ class Tokenizer;
*/

class CPPCHECKLIB Check64BitPortability : public Check {
friend class Test64BitPortability;

public:
/** This constructor is used when registering the Check64BitPortability */
Check64BitPortability() : Check("64-bit portability") {}
Expand Down
4 changes: 0 additions & 4 deletions lib/checkclass.h
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,6 @@ enum class FunctionType : std::uint8_t;

/** @brief %Check classes. Uninitialized member variables, non-conforming operators, missing virtual destructor, etc */
class CPPCHECKLIB CheckClass : public Check {
friend class TestClass;
friend class TestConstructors;
friend class TestUnusedPrivateFunction;

public:
/** @brief This constructor is used when registering the CheckClass */
CheckClass() : Check("Class") {}
Expand Down
2 changes: 0 additions & 2 deletions lib/checkio.h
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,6 @@ enum class Severity : std::uint8_t;

/** @brief %Check input output operations. */
class CPPCHECKLIB CheckIO : public Check {
friend class TestIO;

public:
/** @brief This constructor is used when registering CheckIO */
CheckIO() : Check("IO using format string") {}
Expand Down
8 changes: 0 additions & 8 deletions lib/checkmemoryleak.h
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,6 @@ enum class Severity : std::uint8_t;
*/

class CPPCHECKLIB CheckMemoryLeakInFunction : public Check {
friend class TestMemleakInFunction;

public:
/** @brief This constructor is used when registering this class */
CheckMemoryLeakInFunction() : Check("Memory leaks (function variables)") {}
Expand All @@ -92,8 +90,6 @@ class CPPCHECKLIB CheckMemoryLeakInFunction : public Check {
*/

class CPPCHECKLIB CheckMemoryLeakInClass : public Check {
friend class TestMemleakInClass;

public:
CheckMemoryLeakInClass() : Check("Memory leaks (class variables)") {}

Expand All @@ -112,8 +108,6 @@ class CPPCHECKLIB CheckMemoryLeakInClass : public Check {
/** @brief detect simple memory leaks for struct members */

class CPPCHECKLIB CheckMemoryLeakStructMember : public Check {
friend class TestMemleakStructMember;

public:
CheckMemoryLeakStructMember() : Check("Memory leaks (struct members)") {}

Expand All @@ -132,8 +126,6 @@ class CPPCHECKLIB CheckMemoryLeakStructMember : public Check {
/** @brief detect simple memory leaks (address not taken) */

class CPPCHECKLIB CheckMemoryLeakNoVar : public Check {
friend class TestMemleakNoVar;

public:
CheckMemoryLeakNoVar() : Check("Memory leaks (address not taken)") {}

Expand Down
2 changes: 0 additions & 2 deletions lib/checknullpointer.h
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,6 @@ namespace ValueFlow
/** @brief check for null pointer dereferencing */

class CPPCHECKLIB CheckNullPointer : public Check {
friend class TestNullPointer;

public:
/** @brief This constructor is used when registering the CheckNullPointer */
CheckNullPointer() : Check("Null pointer") {}
Expand Down
4 changes: 0 additions & 4 deletions lib/checkother.h
Original file line number Diff line number Diff line change
Expand Up @@ -50,10 +50,6 @@ struct UnionMember;
/** @brief Various small checks */

class CPPCHECKLIB CheckOther : public Check {
friend class TestCharVar;
friend class TestIncompleteStatement;
friend class TestOther;

public:
/** @brief This constructor is used when registering the CheckClass */
CheckOther() : Check("Other") {}
Expand Down
2 changes: 0 additions & 2 deletions lib/checkpostfixoperator.h
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,6 @@ class Tokenizer;
*/

class CPPCHECKLIB CheckPostfixOperator : public Check {
friend class TestPostfixOperator;

public:
/** This constructor is used when registering the CheckPostfixOperator */
CheckPostfixOperator() : Check("Using postfix operators") {}
Expand Down
2 changes: 0 additions & 2 deletions lib/checkuninitvar.h
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,6 @@ struct VariableValue {
/** @brief Checking for uninitialized variables */

class CPPCHECKLIB CheckUninitVar : public Check {
friend class TestUninitVar;

public:
/** @brief This constructor is used when registering the CheckUninitVar */
CheckUninitVar() : Check("Uninitialized variables") {}
Expand Down
2 changes: 0 additions & 2 deletions lib/checkunusedvar.h
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,6 @@ class Tokenizer;
/** @brief Various small checks */

class CPPCHECKLIB CheckUnusedVar : public Check {
friend class TestUnusedVar;

public:
/** @brief This constructor is used when registering the CheckClass */
CheckUnusedVar() : Check("UnusedVar") {}
Expand Down
Loading