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.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@372877 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Simon Pilgrim 2019-09-25 14:23:25 +00:00
parent da625a1581
commit 3f73a2b50d

View File

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