Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSergey Prigogin2011-05-23 19:55:41 -0400
committerSergey Prigogin2011-05-23 19:55:41 -0400
commitc3b54355959971e7f975cefafd3be6b73f4c8664 (patch)
treed0d3d532713af75a9be0b8f901810247e8097583 /codan/org.eclipse.cdt.codan.checkers
parent8fc40a28842f8018c25e67aad3b4568f2496b1db (diff)
downloadorg.eclipse.cdt-c3b54355959971e7f975cefafd3be6b73f4c8664.tar.gz
org.eclipse.cdt-c3b54355959971e7f975cefafd3be6b73f4c8664.tar.xz
org.eclipse.cdt-c3b54355959971e7f975cefafd3be6b73f4c8664.zip
Bug 315528 - Non-virtual destructor diagnostics doesn't take superclass into account. Tests by Patrick Hofer.
Diffstat (limited to 'codan/org.eclipse.cdt.codan.checkers')
-rw-r--r--codan/org.eclipse.cdt.codan.checkers/src/org/eclipse/cdt/codan/internal/checkers/NonVirtualDestructor.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/codan/org.eclipse.cdt.codan.checkers/src/org/eclipse/cdt/codan/internal/checkers/NonVirtualDestructor.java b/codan/org.eclipse.cdt.codan.checkers/src/org/eclipse/cdt/codan/internal/checkers/NonVirtualDestructor.java
index 4a3bd09a0c..5b5dbc39b4 100644
--- a/codan/org.eclipse.cdt.codan.checkers/src/org/eclipse/cdt/codan/internal/checkers/NonVirtualDestructor.java
+++ b/codan/org.eclipse.cdt.codan.checkers/src/org/eclipse/cdt/codan/internal/checkers/NonVirtualDestructor.java
@@ -33,7 +33,7 @@ import org.eclipse.cdt.internal.core.dom.parser.cpp.ICPPInternalBinding;
* @author Alena Laskavaia
*/
public class NonVirtualDestructor extends AbstractIndexAstChecker {
- private static final String ER_ID = "org.eclipse.cdt.codan.internal.checkers.NonVirtualDestructorProblem"; //$NON-NLS-1$
+ public static final String ER_ID = "org.eclipse.cdt.codan.internal.checkers.NonVirtualDestructorProblem"; //$NON-NLS-1$
public void processAst(IASTTranslationUnit ast) {
// Traverse the ast using the visitor pattern.

Back to the top