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

Loading…
Cancel
Save