summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/llvm/PassSupport.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/llvm/PassSupport.h b/include/llvm/PassSupport.h
index 0eae122007..af00725a32 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
};