Decl::Definition() should be Optional
Closed this issue · 0 comments
d-winsor commented
virtual const Fundecl& Fundecl::definition() const = 0;
virtual const Typedecl& Typedecl::definition() const = 0;
Both of these object could have no body defined (only a forward decleration) in the current translation unit. They should instead return Optional to handle this.
Related to #21