From: Benjamin Kramer Date: Mon, 18 Mar 2013 12:14:30 +0000 (+0000) Subject: Remove default copy ctor/assignment, makes AttributeSet trivially copyable. X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b9c2e4b261a94b56f797dc1f62019135b0a4f293;p=platform%2Fupstream%2Fllvm.git Remove default copy ctor/assignment, makes AttributeSet trivially copyable. And enables SmallVector's pod optimizations. llvm-svn: 177281 --- diff --git a/llvm/include/llvm/IR/Attributes.h b/llvm/include/llvm/IR/Attributes.h index ddb8ea4..074b387 100644 --- a/llvm/include/llvm/IR/Attributes.h +++ b/llvm/include/llvm/IR/Attributes.h @@ -226,11 +226,6 @@ private: explicit AttributeSet(AttributeSetImpl *LI) : pImpl(LI) {} public: AttributeSet() : pImpl(0) {} - AttributeSet(const AttributeSet &P) : pImpl(P.pImpl) {} - const AttributeSet &operator=(const AttributeSet &RHS) { - pImpl = RHS.pImpl; - return *this; - } //===--------------------------------------------------------------------===// // AttributeSet Construction and Mutation