mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-23 14:42:11 +02:00
Fixes to get Firefox Fast indexed, at least the easy fixes :(.
This commit is contained in:
parent
8bdc08f6f6
commit
8710a1aaa2
2 changed files with 4 additions and 2 deletions
|
@ -87,7 +87,9 @@ public class CPPFunctionScope extends CPPScope implements ICPPFunctionScope {
|
|||
IASTName [] ns = qual.getNames();
|
||||
if( ns.length > 1){
|
||||
IBinding binding = ns[ ns.length - 2 ].resolveBinding();
|
||||
if( binding instanceof ICPPClassType )
|
||||
if (binding == null)
|
||||
return null;
|
||||
else if( binding instanceof ICPPClassType )
|
||||
return ((ICPPClassType)binding).getCompositeScope();
|
||||
else if( binding instanceof ICPPNamespace )
|
||||
return ((ICPPNamespace)binding).getNamespaceScope();
|
||||
|
|
|
@ -166,7 +166,7 @@ public class PDOMCPPClassType extends PDOMMemberOwner implements ICPPClassType,
|
|||
}
|
||||
|
||||
public IScope getParent() throws DOMException {
|
||||
throw new PDOMNotImplementedError();
|
||||
return null;
|
||||
}
|
||||
|
||||
public IASTNode getPhysicalNode() throws DOMException {
|
||||
|
|
Loading…
Add table
Reference in a new issue