From: Martin Quinson Date: Wed, 9 Jan 2019 07:21:03 +0000 (+0100) Subject: sonar: disable a weird rule X-Git-Tag: v3_22~632 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/87908f5283d5b02775f3585354b2efaba21bbbfb?ds=sidebyside sonar: disable a weird rule --- diff --git a/sonar-project.properties b/sonar-project.properties index 99b95e54b2..ec1e0f24c6 100644 --- a/sonar-project.properties +++ b/sonar-project.properties @@ -13,7 +13,7 @@ sonar.sources=src,examples,include,teshsuite # Disable some rules on some files -sonar.issue.ignore.multicriteria=j1,j2,j3,jni1,jni2,c1,c2a,c2b,c3,c4a,c4b,c5a,c5b,c6a,c6b,c7,c8,f1 +sonar.issue.ignore.multicriteria=j1,j2,j3,jni1,jni2,c1,c2a,c2b,c3,c4a,c4b,c5a,c5b,c6a,c6b,c7,c8,c9,f1 # The Object.finalize() method should not be overriden # But we need to clean the native memory with JNI @@ -90,6 +90,11 @@ sonar.issue.ignore.multicriteria.c7.resourceKey=**/* sonar.issue.ignore.multicriteria.c8.ruleKey=cpp:S1133 sonar.issue.ignore.multicriteria.c8.resourceKey=**/* +# Lambda return types should be implicit +# I don't see the point in general, plus we mostly use them when forced, to disambiguate +sonar.issue.ignore.multicriteria.c8.ruleKey=cpp:S3574 +sonar.issue.ignore.multicriteria.c8.resourceKey=**/* + # "reinterpret_cast" should not be used # But we need this to interface C and Fortran sonar.issue.ignore.multicriteria.f1.ruleKey=cpp:S3630