From f630e49efc7bf3f1716b6daab3c2cc11a908754a Mon Sep 17 00:00:00 2001 From: Craig Topper Date: Sun, 16 Sep 2012 21:37:56 +0000 Subject: Use LLVM_DELETED_FUNCTION for copy constructors and copy assignment operators that aren't implemented. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@164006 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/Support/Program.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include/llvm/Support/Program.h') diff --git a/include/llvm/Support/Program.h b/include/llvm/Support/Program.h index a85f23550e..7c9a951031 100644 --- a/include/llvm/Support/Program.h +++ b/include/llvm/Support/Program.h @@ -34,8 +34,8 @@ namespace sys { void *Data_; // Noncopyable. - Program(const Program& other); - Program& operator=(const Program& other); + Program(const Program& other) LLVM_DELETED_FUNCTION; + Program& operator=(const Program& other) LLVM_DELETED_FUNCTION; /// @name Methods /// @{ -- cgit v1.2.3