diff options
| author | Simon Pilgrim <llvm-dev@redking.me.uk> | 2019-09-25 14:23:25 +0000 |
|---|---|---|
| committer | Simon Pilgrim <llvm-dev@redking.me.uk> | 2019-09-25 14:23:25 +0000 |
| commit | b2befe47dc4067416729080bd4531af6197bc265 (patch) | |
| tree | 29a4dd30269d0baab07ab068c1ae8a9bd7f2a487 /llvm/lib/IR/AttributeImpl.h | |
| parent | aefdc1e37a840f6448989cbce7b76831b818cc67 (diff) | |
| download | bcm5719-llvm-b2befe47dc4067416729080bd4531af6197bc265.tar.gz bcm5719-llvm-b2befe47dc4067416729080bd4531af6197bc265.zip | |
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
Diffstat (limited to 'llvm/lib/IR/AttributeImpl.h')
| -rw-r--r-- | llvm/lib/IR/AttributeImpl.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/IR/AttributeImpl.h b/llvm/lib/IR/AttributeImpl.h index f989fa3b910..54e4463aeb9 100644 --- a/llvm/lib/IR/AttributeImpl.h +++ b/llvm/lib/IR/AttributeImpl.h @@ -159,7 +159,7 @@ public: }; class TypeAttributeImpl : public EnumAttributeImpl { - virtual void anchor(); + void anchor() override; Type *Ty; |

