summaryrefslogtreecommitdiffstats
path: root/llvm/lib/IR/AttributeImpl.h
diff options
context:
space:
mode:
authorSimon Pilgrim <llvm-dev@redking.me.uk>2019-09-25 14:23:25 +0000
committerSimon Pilgrim <llvm-dev@redking.me.uk>2019-09-25 14:23:25 +0000
commitb2befe47dc4067416729080bd4531af6197bc265 (patch)
tree29a4dd30269d0baab07ab068c1ae8a9bd7f2a487 /llvm/lib/IR/AttributeImpl.h
parentaefdc1e37a840f6448989cbce7b76831b818cc67 (diff)
downloadbcm5719-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.h2
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;
OpenPOWER on IntegriCloud