diff options
author | Neil <nyamatongwe@gmail.com> | 2016-10-21 09:57:11 +1100 |
---|---|---|
committer | Neil <nyamatongwe@gmail.com> | 2016-10-21 09:57:11 +1100 |
commit | 88f8c2318d64135c26acc83d1c2bcc8a64d49cb1 (patch) | |
tree | 5831bfd5a7f7aae65e3176caf7ddd46710f7649c /cppcheck.suppress | |
parent | 2c2d83f8b2d63137107e0e0ecfb041667d80e52f (diff) | |
download | scintilla-mirror-88f8c2318d64135c26acc83d1c2bcc8a64d49cb1.tar.gz |
Avoid spurious cppcheck warnings for unit testing code.
Diffstat (limited to 'cppcheck.suppress')
-rw-r--r-- | cppcheck.suppress | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/cppcheck.suppress b/cppcheck.suppress index 095af77ba..699aaa61c 100644 --- a/cppcheck.suppress +++ b/cppcheck.suppress @@ -46,3 +46,7 @@ variableScope:scintilla/lexers/LexVHDL.cxx // Suppress everything in catch.hpp as won't be changing
*:scintilla/test/unit/catch.hpp
+// Spurious errors due to choice of variadic or two argument TEST_CASE macro
+preprocessorErrorDirective:scintilla/test/unit/*.cxx
+syntaxError:scintilla/test/unit/UnitTester.cxx
+syntaxError:scintilla/test/unit/unitTest.cxx
|