Browse Source

Implemented support for decayed types in the AST converter.

pull/254/merge
triton 11 years ago
parent
commit
b0b14f6960
  1. 4
      src/Core/Parser/ASTConverter.cs

4
src/Core/Parser/ASTConverter.cs

@ -438,8 +438,10 @@ namespace CppSharp @@ -438,8 +438,10 @@ namespace CppSharp
public override AST.Type VisitDecayed(DecayedType type)
{
throw new NotImplementedException();
var _type = new CppSharp.AST.DecayedType();
_type.Decayed = VisitQualified(type.Decayed);
_type.Original = VisitQualified(type.Original);
_type.Pointee = VisitQualified(type.Pointee);
VisitType(type, _type);
return _type;
}

Loading…
Cancel
Save