|
|
@ -19,12 +19,15 @@ namespace CppSharp.Passes |
|
|
|
if (@class.CompleteDeclaration != null) |
|
|
|
if (@class.CompleteDeclaration != null) |
|
|
|
goto Out; |
|
|
|
goto Out; |
|
|
|
|
|
|
|
|
|
|
|
@class.CompleteDeclaration = Library.FindCompleteClass( |
|
|
|
@class.CompleteDeclaration = |
|
|
|
@class.QualifiedName); |
|
|
|
Library.FindCompleteClass(@class.QualifiedName); |
|
|
|
|
|
|
|
|
|
|
|
if (@class.CompleteDeclaration == null) |
|
|
|
if (@class.CompleteDeclaration == null) |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
@class.IsGenerated = false; |
|
|
|
Driver.Diagnostics.EmitWarning(DiagnosticId.UnresolvedDeclaration, |
|
|
|
Driver.Diagnostics.EmitWarning(DiagnosticId.UnresolvedDeclaration, |
|
|
|
"Unresolved declaration: {0}", @class.Name); |
|
|
|
"Unresolved declaration: {0}", @class.Name); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
Out: |
|
|
|
Out: |
|
|
|
|
|
|
|
|
|
|
|