From dabc5073b21bca077cf86a64fde9aa87cf654362 Mon Sep 17 00:00:00 2001 From: Benjamin Kramer Date: Tue, 11 Mar 2014 11:32:49 +0000 Subject: Remove copy ctors that did the same thing as the default one. The code added nothing but potentially disabled move semantics and made types non-trivially copyable. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@203563 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/IR/Attributes.h | 4 ---- 1 file changed, 4 deletions(-) (limited to 'include/llvm/IR/Attributes.h') diff --git a/include/llvm/IR/Attributes.h b/include/llvm/IR/Attributes.h index f240211a54..9eccf40045 100644 --- a/include/llvm/IR/Attributes.h +++ b/include/llvm/IR/Attributes.h @@ -403,10 +403,6 @@ public: addAttribute(A); } AttrBuilder(AttributeSet AS, unsigned Idx); - AttrBuilder(const AttrBuilder &B) - : Attrs(B.Attrs), - TargetDepAttrs(B.TargetDepAttrs.begin(), B.TargetDepAttrs.end()), - Alignment(B.Alignment), StackAlignment(B.StackAlignment) {} void clear(); -- cgit v1.2.3