mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-24 01:15:29 +02:00
Map qualified class instances back to AST, bug 262719.
This commit is contained in:
parent
13949e4b47
commit
e3aab4027a
1 changed files with 3 additions and 0 deletions
|
@ -938,6 +938,9 @@ public class CPPVisitor extends ASTQueries {
|
|||
boolean done= true;
|
||||
IScope scope= null;
|
||||
if (binding instanceof ICPPClassType) {
|
||||
if (binding instanceof IIndexBinding) {
|
||||
binding= (((CPPASTTranslationUnit) parent.getTranslationUnit())).mapToAST((ICPPClassType) binding);
|
||||
}
|
||||
scope= ((ICPPClassType) binding).getCompositeScope();
|
||||
} else if (binding instanceof ICPPNamespace) {
|
||||
scope= ((ICPPNamespace) binding).getNamespaceScope();
|
||||
|
|
Loading…
Add table
Reference in a new issue