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:
parent
9d761485f0
commit
f51b36a2c8
1 changed files with 2 additions and 3 deletions
|
@ -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{
|
||||
|
|
Loading…
Add table
Reference in a new issue