Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
rename fields to end with _
[simgrid.git] / sonar-project.properties
index 680725f..c9263b2 100644 (file)
@@ -13,7 +13,7 @@ sonar.sources=src,examples,include,teshsuite
 
 
 # Disable some rules on some files
-sonar.issue.ignore.multicriteria=j1,j2,jni1,jni2,c1,c2a,c2b,c3,c4a,c4b,c5a,c5b,c6a,c6b,f1
+sonar.issue.ignore.multicriteria=j1,j2,jni1,jni2,c1,c2a,c2b,c3,c4a,c4b,c5a,c5b,c6a,c6b,c7,f1
 
 # The Object.finalize() method should not be overriden
 # But we need to clean the native memory with JNI
@@ -75,6 +75,11 @@ sonar.issue.ignore.multicriteria.c6a.resourceKey=src/**/*.cpp
 sonar.issue.ignore.multicriteria.c6b.ruleKey=cpp:S3584
 sonar.issue.ignore.multicriteria.c6b.resourceKey=teshsuite/**/*.cpp
 
+# Preprocessor operators "#" and "##" should not be used
+# Until after Augustin goes to rehab, we cannot remove them all
+sonar.issue.ignore.multicriteria.c7.ruleKey=c:PPStringifyAndPastingUsage
+sonar.issue.ignore.multicriteria.c7.resourceKey=**/*
+
 # "reinterpret_cast" should not be used
 # But we need this to interface C and Fortran
 sonar.issue.ignore.multicriteria.f1.ruleKey=cpp:S3630