Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn Camelon2005-05-16 21:28:45 +0000
committerJohn Camelon2005-05-16 21:28:45 +0000
commit3fa54b37eaad180c49a8fa20c39611022a642df2 (patch)
tree172aa31c25261a810b977f1ca5124fc03660b064 /core/org.eclipse.cdt.core/parser/org/eclipse/cdt/core/dom/ast/cpp/ICPPMethod.java
parent27570511ea6301626fd7ecc80ee4a2f0b2c033c7 (diff)
downloadorg.eclipse.cdt-3fa54b37eaad180c49a8fa20c39611022a642df2.tar.gz
org.eclipse.cdt-3fa54b37eaad180c49a8fa20c39611022a642df2.tar.xz
org.eclipse.cdt-3fa54b37eaad180c49a8fa20c39611022a642df2.zip
Applied patch for Devin Steffler.
FIXED 94135- All Declarations does not include the namespace scope in the search pattern FIXED 95202- [NPE] on Open Declarations for C++ spec example FIXED 95219- [Ctrl+Click] is enabled on everything except for keywords FIXED 95224- [Open Definition] of destructor should have the same logic as constructors FIXED 95225- [open definition] within constructor in a throw statement fails FIXED 95229- [open declaration] infinite loop on keyword operator FIXED 95372- DOMQuery#isLocal() should not reference internal DOM packages
Diffstat (limited to 'core/org.eclipse.cdt.core/parser/org/eclipse/cdt/core/dom/ast/cpp/ICPPMethod.java')
-rw-r--r--core/org.eclipse.cdt.core/parser/org/eclipse/cdt/core/dom/ast/cpp/ICPPMethod.java7
1 files changed, 7 insertions, 0 deletions
diff --git a/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/core/dom/ast/cpp/ICPPMethod.java b/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/core/dom/ast/cpp/ICPPMethod.java
index 40c3bf253c6..e841548481c 100644
--- a/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/core/dom/ast/cpp/ICPPMethod.java
+++ b/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/core/dom/ast/cpp/ICPPMethod.java
@@ -24,4 +24,11 @@ public interface ICPPMethod extends ICPPFunction, ICPPMember {
* @throws DOMException
*/
public boolean isVirtual() throws DOMException;
+
+ /**
+ * is this a destructor
+ *
+ * returns true if its name starts with '~'
+ */
+ public boolean isDestructor() throws DOMException;
}

Back to the top