Browse Source

Added a field to keep a reference to the complete version of the declaration.

pull/1/head
triton 13 years ago
parent
commit
397ead6ee6
  1. 9
      src/Bridge/Declaration.cs

9
src/Bridge/Declaration.cs

@ -1,7 +1,13 @@ @@ -1,7 +1,13 @@
using System;
using System.Collections.Generic;
namespace Cxxi
{
public interface IRedeclarableDecl
{
Declaration PreviousDecl { get; }
}
/// <summary>
/// Represents a C++ declaration.
/// </summary>
@ -57,6 +63,9 @@ namespace Cxxi @@ -57,6 +63,9 @@ namespace Cxxi
// True if the declaration is incomplete (no definition).
public bool IsIncomplete;
// Keeps a reference to the complete version of this declaration.
public Declaration CompleteDeclaration;
protected Declaration()
{
}

Loading…
Cancel
Save