From 771958ba0adff0bc2855102cac313f5c9d08fc0f Mon Sep 17 00:00:00 2001 From: Roland Winklmeier Date: Thu, 30 Oct 2014 14:20:37 +0100 Subject: [PATCH] =?UTF-8?q?refs=20#341=20cppcheck=20shouldn=E2=80=99t=20as?= =?UTF-8?q?sume=20operator*=20is=20commutative?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- cppcheck_suppressions.conf | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/cppcheck_suppressions.conf b/cppcheck_suppressions.conf index ade74ce73..e0e750bfa 100644 --- a/cppcheck_suppressions.conf +++ b/cppcheck_suppressions.conf @@ -13,3 +13,7 @@ uninitMemberVar:src/blackmisc/optional.h // False positive caused by missing support for C++11 feature unusedPrivateFunction:src/blackmisc/tuple_private.h + +// cppcheck shouldn’t assume operator* is commutative +duplicateExpression:tests/blackmisc/testvectormatrix.cpp +duplicateExpression:tests/blackmisc/testphysicalquantities.cpp