cppcheck-suppress.lst 1.1 KB

12345678910111213141516171819202122232425262728
  1. // On some systems cppcheck produces false alarms about 'missing includes'.
  2. // the following two will suppress, depending on the cppcheck version
  3. debug
  4. missingInclude
  5. // Please don't add any suppressions here. We now use inline
  6. // suppressions (in the .cc files) so that we don't have to
  7. // maintain line numbers in this file.
  8. //
  9. // See the cppcheck manual for syntax. It is something like:
  10. //
  11. // // cppcheck-suppress duplicateExpression
  12. // EXPECT_FALSE(small_name < small_name);
  13. // With cppcheck 1.56, there are a number of false positives, which
  14. // All of these should be checked and hopefully removed after upgrading
  15. // cppcheck past 1.56
  16. // eraseDereference: This is a known false positive, which has been
  17. // fixed in the current development version of cppcheck
  18. eraseDereference
  19. // Unused functions: there suddenly are a lot of unused function errors
  20. // We could address those by adding for instance early declarations or
  21. // (unnecessary) header files, but they were all somewhat false positives
  22. // When we upgrade past 1.56, we should re-check this, and perhaps enable
  23. // unused-functions again.
  24. unusedFunction