From 1d5ae1026e831016fc29fd927877c86af904481f Mon Sep 17 00:00:00 2001 From: Dimitry Andric Date: Wed, 23 Oct 2019 17:51:42 +0000 Subject: Vendor import of stripped llvm trunk r375505, the last commit before the upstream Subversion repository was made read-only, and the LLVM project migrated to GitHub: https://llvm.org/svn/llvm-project/llvm/trunk@375505 --- lib/IR/AttributeImpl.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lib/IR/AttributeImpl.h') diff --git a/lib/IR/AttributeImpl.h b/lib/IR/AttributeImpl.h index f989fa3b910e..15e488bbb13b 100644 --- a/lib/IR/AttributeImpl.h +++ b/lib/IR/AttributeImpl.h @@ -159,7 +159,7 @@ public: }; class TypeAttributeImpl : public EnumAttributeImpl { - virtual void anchor(); + void anchor() override; Type *Ty; @@ -208,8 +208,8 @@ public: Attribute getAttribute(Attribute::AttrKind Kind) const; Attribute getAttribute(StringRef Kind) const; - unsigned getAlignment() const; - unsigned getStackAlignment() const; + MaybeAlign getAlignment() const; + MaybeAlign getStackAlignment() const; uint64_t getDereferenceableBytes() const; uint64_t getDereferenceableOrNullBytes() const; std::pair> getAllocSizeArgs() const; -- cgit v1.2.3