Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Corbat2012-08-29 04:36:11 +0000
committerSergey Prigogin2012-08-29 04:36:11 +0000
commit6d4c1e4dffcdc14c1b9db7420f6682f779022705 (patch)
tree0f4b6c49c3d7f5510f6ed93f251421a3fc21db16 /core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/pdom/dom/cpp/PDOMCPPMethod.java
parentcce375dd68e7ae9288d141d018fe529ed740cb2a (diff)
downloadorg.eclipse.cdt-6d4c1e4dffcdc14c1b9db7420f6682f779022705.tar.gz
org.eclipse.cdt-6d4c1e4dffcdc14c1b9db7420f6682f779022705.tar.xz
org.eclipse.cdt-6d4c1e4dffcdc14c1b9db7420f6682f779022705.zip
Bug 380623 - [C++11] Explicit Virtual Overrides
Diffstat (limited to 'core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/pdom/dom/cpp/PDOMCPPMethod.java')
-rw-r--r--core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/pdom/dom/cpp/PDOMCPPMethod.java21
1 files changed, 16 insertions, 5 deletions
diff --git a/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/pdom/dom/cpp/PDOMCPPMethod.java b/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/pdom/dom/cpp/PDOMCPPMethod.java
index 7360c7a1ff5..697fcfdeab4 100644
--- a/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/pdom/dom/cpp/PDOMCPPMethod.java
+++ b/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/pdom/dom/cpp/PDOMCPPMethod.java
@@ -1,15 +1,16 @@
/*******************************************************************************
- * Copyright (c) 2006, 2011 QNX Software Systems and others.
+ * Copyright (c) 2006, 2012 QNX Software Systems and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
- * Doug Schaefer (QNX) - Initial API and implementation
- * IBM Corporation
- * Andrew Ferguson (Symbian)
- * Markus Schorn (Wind River Systems)
+ * Doug Schaefer (QNX) - Initial API and implementation
+ * IBM Corporation
+ * Andrew Ferguson (Symbian)
+ * Markus Schorn (Wind River Systems)
+ * Thomas Corbat (IFS)
*******************************************************************************/
package org.eclipse.cdt.internal.core.pdom.dom.cpp;
@@ -257,4 +258,14 @@ class PDOMCPPMethod extends PDOMCPPFunction implements ICPPMethod {
}
return super.getExceptionSpecification();
}
+
+ @Override
+ public boolean isOverride() {
+ return getBit(getAnnotation1(), PDOMCPPAnnotation.OVERRIDE_OFFSET);
+ }
+
+ @Override
+ public boolean isFinal() {
+ return getBit(getAnnotation1(), PDOMCPPAnnotation.FINAL_OFFSET);
+ }
}

Back to the top