Fix analyzer TypeAttributeImpl::anchor() override.
authorSimon Pilgrim <llvm-dev@redking.me.uk>
Wed, 25 Sep 2019 14:23:25 +0000 (14:23 +0000)
committerSimon Pilgrim <llvm-dev@redking.me.uk>
Wed, 25 Sep 2019 14:23:25 +0000 (14:23 +0000)
commitb2befe47dc4067416729080bd4531af6197bc265
tree29a4dd30269d0baab07ab068c1ae8a9bd7f2a487
parentaefdc1e37a840f6448989cbce7b76831b818cc67
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
llvm/lib/IR/AttributeImpl.h