Skip to content

Commit e956606

Browse files
committed
suppress "noValidConfiguration" and "missingInclude" findings for now - will be properly handled in an upcoming change / suppress "unmatchedSuppression" and "purgedConfiguration" finding
1 parent 040be82 commit e956606

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

src/com/github/johnthagen/cppcheck/CppCheckInspectionImpl.java

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,16 @@ public static List<ProblemDescriptor> parseOutput(@NotNull final PsiFile psiFile
116116
continue;
117117
}
118118

119+
// suppress this warnings for now - will be properly handled in an upcoming patch
120+
if (id.equals("noValidConfiguration") || id.equals("missingInclude")) {
121+
continue;
122+
}
123+
124+
// we are never interested in these
125+
if (id.equals("unmatchedSuppression") || id.equals("purgedConfiguration")) {
126+
continue;
127+
}
128+
119129
// suppress this warning for headers until Cppcheck handles them in a better way
120130
if (SupportedExtensions.isHeaderFile(psiFile.getVirtualFile()) && id.equals("unusedStructMember")) {
121131
continue;

0 commit comments

Comments
 (0)