diff --git a/lib/SPIRV/SPIRVWriter.h b/lib/SPIRV/SPIRVWriter.h index 28074ea2..244d8dc4 100644 --- a/lib/SPIRV/SPIRVWriter.h +++ b/lib/SPIRV/SPIRVWriter.h @@ -72,6 +72,10 @@ namespace SPIRV { class LLVMToSPIRVBase : protected BuiltinCallHelper { public: LLVMToSPIRVBase(SPIRVModule *SMod); + LLVMToSPIRVBase(const LLVMToSPIRVBase &Other) = delete; + LLVMToSPIRVBase &operator=(const LLVMToSPIRVBase &Other) = delete; + LLVMToSPIRVBase(LLVMToSPIRVBase &&Other) = delete; + LLVMToSPIRVBase &operator=(LLVMToSPIRVBase &&Other) = delete; bool runLLVMToSPIRV(Module &Mod); // This enum sets the mode used to translate the value which is