1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-29 19:45:01 +02:00

fix ClassCastException: Bug 101269: Traceback indexing QT application

This commit is contained in:
Andrew Niefer 2005-06-23 19:32:53 +00:00
parent 9d761485f0
commit f51b36a2c8

View file

@ -2644,9 +2644,8 @@ public class CPPSemantics {
static private boolean isCompleteType( IType type ){
type = getUltimateType( type, false );
if( type instanceof ICPPClassType && ((ICPPInternalBinding)type).getDefinition() == null ){
return false;
}
if( type instanceof ICPPClassType && type instanceof ICPPInternalBinding )
return (((ICPPInternalBinding)type).getDefinition() != null );
return true;
}
static private Cost lvalue_to_rvalue( IType source, IType target ) throws DOMException{