diff --git a/llvm/include/llvm/PassSupport.h b/llvm/include/llvm/PassSupport.h index 0eae122007f7..af00725a32df 100644 --- a/llvm/include/llvm/PassSupport.h +++ b/llvm/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 };