From 79fc2020ce2373b43c1a8d63f9de5ca496be84bc Mon Sep 17 00:00:00 2001 From: Dan Gohman Date: Wed, 14 May 2008 00:39:39 +0000 Subject: [PATCH] Make PassInfo noncopyable. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@51085 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/PassSupport.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/include/llvm/PassSupport.h b/include/llvm/PassSupport.h index 0eae122007f..af00725a32d 100644 --- a/include/llvm/PassSupport.h +++ b/include/llvm/PassSupport.h @@ -137,6 +137,10 @@ public: protected: void registerPass(); void unregisterPass(); + +private: + void operator=(const PassInfo &); // do not implement + PassInfo(const PassInfo &); // do not implement }; -- 2.34.1