mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-24 01:15:29 +02:00
PDOM - Fix NPE.
This commit is contained in:
parent
f5223537de
commit
72552ca1bc
1 changed files with 1 additions and 1 deletions
|
@ -146,7 +146,7 @@ public class CPPUnknownBinding extends PlatformObject implements ICPPInternalUnk
|
|||
if( t instanceof ICPPClassType ){
|
||||
IScope s = ((ICPPClassType)t).getCompositeScope();
|
||||
|
||||
if( s.isFullyCached() )
|
||||
if( s != null && s.isFullyCached() )
|
||||
result = s.getBinding( name, true );
|
||||
// CPPSemantics.LookupData data = CPPSemantics.createLookupData( name, false );
|
||||
// CPPSemantics.lookup( data, s );
|
||||
|
|
Loading…
Add table
Reference in a new issue