Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNathan Ridge2016-12-26 03:52:05 +0000
committerNathan Ridge2017-01-03 21:28:08 +0000
commitcc59253516399d8932fb5717c28e840fb28553c4 (patch)
treef3846af000f700c44bf5b30268af604081c20030 /core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/dom/parser/cpp/ICPPClassSpecializationScope.java
parentb9baf5b478ba8123db821cbd4f28ed0f33f70eb0 (diff)
downloadorg.eclipse.cdt-cc59253516399d8932fb5717c28e840fb28553c4.tar.gz
org.eclipse.cdt-cc59253516399d8932fb5717c28e840fb28553c4.tar.xz
org.eclipse.cdt-cc59253516399d8932fb5717c28e840fb28553c4.zip
Bug 292236 - Consider using-declarations when determining accessibility for content assist
Diffstat (limited to 'core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/dom/parser/cpp/ICPPClassSpecializationScope.java')
-rw-r--r--core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/dom/parser/cpp/ICPPClassSpecializationScope.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/dom/parser/cpp/ICPPClassSpecializationScope.java b/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/dom/parser/cpp/ICPPClassSpecializationScope.java
index 23a33a01e9e..a6386ebde6e 100644
--- a/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/dom/parser/cpp/ICPPClassSpecializationScope.java
+++ b/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/dom/parser/cpp/ICPPClassSpecializationScope.java
@@ -20,6 +20,7 @@ import org.eclipse.cdt.core.dom.ast.cpp.ICPPClassType;
import org.eclipse.cdt.core.dom.ast.cpp.ICPPConstructor;
import org.eclipse.cdt.core.dom.ast.cpp.ICPPField;
import org.eclipse.cdt.core.dom.ast.cpp.ICPPMethod;
+import org.eclipse.cdt.core.dom.ast.cpp.ICPPUsingDeclaration;
/**
* Composite scope of a class specialization. Supports creating instances for bindings found
@@ -75,4 +76,9 @@ public interface ICPPClassSpecializationScope extends ICPPClassScope {
* Computes the nested classes via the original class.
*/
ICPPClassType[] getNestedClasses(IASTNode point);
+
+ /**
+ * Computes the using declarations via the original class.
+ */
+ ICPPUsingDeclaration[] getUsingDeclarations(IASTNode point);
}

Back to the top