Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarco Stornelli2019-03-23 10:00:27 +0000
committerDoug Schaefer2019-04-15 14:28:39 +0000
commit60a4cccbe39f00bf22aa97eaa0882e5cd10b1dbc (patch)
treefbdc0edd75dc57f9a2dc6ebb126396bd9e1c2ddf /codan/org.eclipse.cdt.codan.checkers/plugin.xml
parentef2468b390ffbd3950607116d09db504f014ea86 (diff)
downloadorg.eclipse.cdt-60a4cccbe39f00bf22aa97eaa0882e5cd10b1dbc.tar.gz
org.eclipse.cdt-60a4cccbe39f00bf22aa97eaa0882e5cd10b1dbc.tar.xz
org.eclipse.cdt-60a4cccbe39f00bf22aa97eaa0882e5cd10b1dbc.zip
Bug 545699 - Added checker for C-style casts in C++
Change-Id: I38076599b354608a4b806f7b1d2ca1f6acc50a44 Signed-off-by: Marco Stornelli <marco.stornelli@gmail.com>
Diffstat (limited to 'codan/org.eclipse.cdt.codan.checkers/plugin.xml')
-rw-r--r--codan/org.eclipse.cdt.codan.checkers/plugin.xml15
1 files changed, 15 insertions, 0 deletions
diff --git a/codan/org.eclipse.cdt.codan.checkers/plugin.xml b/codan/org.eclipse.cdt.codan.checkers/plugin.xml
index 93c074f67b4..126ac3a5485 100644
--- a/codan/org.eclipse.cdt.codan.checkers/plugin.xml
+++ b/codan/org.eclipse.cdt.codan.checkers/plugin.xml
@@ -454,5 +454,20 @@
name="%problem.name.UsingInHeaderProblem">
</problem>
</checker>
+ <checker
+ class="org.eclipse.cdt.codan.internal.checkers.CStyleCastChecker"
+ id="org.eclipse.cdt.codan.internal.checkers.CStyleCastChecker"
+ name="%checker.name.CStyleCastChecker">
+ <problem
+ category="org.eclipse.cdt.codan.core.categories.CodeStyle"
+ defaultEnabled="false"
+ defaultSeverity="Warning"
+ description="%problem.description.CStyleCastProblem"
+ id="org.eclipse.cdt.codan.internal.checkers.CStyleCastProblem"
+ markerType="org.eclipse.cdt.codan.core.codanProblem"
+ messagePattern="%problem.messagePattern.CStyleCastProblem"
+ name="%problem.name.CStyleCastProblem">
+ </problem>
+ </checker>
</extension>
</plugin>

Back to the top