1
0
Fork 0
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:
Doug Schaefer 2006-01-20 19:57:51 +00:00
parent f5223537de
commit 72552ca1bc

View file

@ -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 );