Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarkus Schorn2012-04-26 09:55:34 +0000
committerMarkus Schorn2012-04-26 09:55:34 +0000
commitff6444f9b8306ca65ebb97de02ace35a2ff69e6c (patch)
tree15ed060c3a669bdf5cd24f1a416a19172def8f93 /core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core
parent755d3975a6c0c4610667db2849f31e1102c5b3e4 (diff)
downloadorg.eclipse.cdt-ff6444f9b8306ca65ebb97de02ace35a2ff69e6c.tar.gz
org.eclipse.cdt-ff6444f9b8306ca65ebb97de02ace35a2ff69e6c.tar.xz
org.eclipse.cdt-ff6444f9b8306ca65ebb97de02ace35a2ff69e6c.zip
Bug 377457: Name resolution for exception specification.
Diffstat (limited to 'core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core')
-rw-r--r--core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/dom/parser/cpp/semantics/CPPVisitor.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/dom/parser/cpp/semantics/CPPVisitor.java b/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/dom/parser/cpp/semantics/CPPVisitor.java
index a144e5dc880..af69d010bf4 100644
--- a/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/dom/parser/cpp/semantics/CPPVisitor.java
+++ b/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/dom/parser/cpp/semantics/CPPVisitor.java
@@ -982,7 +982,8 @@ public class CPPVisitor extends ASTQueries {
node= node.getParent();
}
continue;
- } else if (prop == ICPPASTFunctionDeclarator.TRAILING_RETURN_TYPE) {
+ } else if (prop == ICPPASTFunctionDeclarator.TRAILING_RETURN_TYPE ||
+ prop == ICPPASTFunctionDeclarator.EXCEPTION_TYPEID) {
IScope result = scopeViaFunctionDtor((ICPPASTFunctionDeclarator) node.getParent());
if (result != null)
return result;

Back to the top