Skip to content

Commit f375bfb

Browse files
authored
Merge pull request #57 from cpp-best-practices/suppress_unactionable_cppcheck_warnings
2 parents 15d7325 + ea42b53 commit f375bfb

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

src/StaticAnalyzers.cmake

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ macro(enable_cppcheck)
77
${CPPCHECK}
88
--enable=style,performance,warning,portability
99
--inline-suppr
10+
# We cannot act on a bug/missing feature of cppcheck
11+
--suppress=internalAstError
12+
# if a file does not have an internalAstError, we get an unmatchedSuppression error
13+
--suppress=unmatchedSuppression
1014
--inconclusive)
1115
if(NOT
1216
"${CMAKE_CXX_STANDARD}"

0 commit comments

Comments
 (0)