Fix analyzer TypeAttributeImpl::anchor() override.

TypeAttributeImpl inherits from EnumAttributeImpl which already defines anchor() as a virtual, so we should override this instead of redeclaring it.

llvm-svn: 372877
This commit is contained in:
Simon Pilgrim 2019-09-25 14:23:25 +00:00
parent aefdc1e37a
commit b2befe47dc
1 changed files with 1 additions and 1 deletions

View File

@ -159,7 +159,7 @@ public:
};
class TypeAttributeImpl : public EnumAttributeImpl {
virtual void anchor();
void anchor() override;
Type *Ty;