Add a couple of mising assignment operators to match copy constructors

This commit is contained in:
Tim Wojtulewicz 2022-11-02 15:55:32 -07:00
parent e8dbfc1cb0
commit 859588d710
4 changed files with 33 additions and 0 deletions

View file

@ -583,6 +583,8 @@ public:
TypeDecl(const TypeDecl& other);
~TypeDecl();
TypeDecl& operator=(const TypeDecl& other);
const detail::AttrPtr& GetAttr(detail::AttrTag a) const
{
return attrs ? attrs->Find(a) : detail::Attr::nil;