Skip to content

Commit bc6b15d

Browse files
committed
suppressions.h: added some comments
1 parent 0e79fe2 commit bc6b15d

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

lib/suppressions.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -159,8 +159,8 @@ class CPPCHECKLIB SuppressionList {
159159
std::string macroName;
160160
std::size_t hash{};
161161
bool thisAndNextLine{}; // Special case for backwards compatibility: { // cppcheck-suppress something
162-
bool matched{};
163-
bool checked{};
162+
bool matched{}; /** This suppression was fully matched in an isSuppressed() call */
163+
bool checked{}; /** This suppression applied to code which was being analyzed but did not match the error in an isSuppressed() call */
164164
bool isInline{};
165165

166166
enum : std::int8_t { NO_LINE = -1 };

0 commit comments

Comments
 (0)