[clang] a92dbad - [OpenMP] Fix -Wdeprecated-copy
Fangrui Song via cfe-commits
cfe-commits at lists.llvm.org
Fri Apr 23 10:49:26 PDT 2021
Author: Fangrui Song
Date: 2021-04-23T10:49:19-07:00
New Revision: a92dbadffe4ff81cbae7303b0f3e723e26fa77b1
URL: https://github.com/llvm/llvm-project/commit/a92dbadffe4ff81cbae7303b0f3e723e26fa77b1
DIFF: https://github.com/llvm/llvm-project/commit/a92dbadffe4ff81cbae7303b0f3e723e26fa77b1.diff
LOG: [OpenMP] Fix -Wdeprecated-copy
Added:
Modified:
clang/lib/CodeGen/CGOpenMPRuntime.h
Removed:
################################################################################
diff --git a/clang/lib/CodeGen/CGOpenMPRuntime.h b/clang/lib/CodeGen/CGOpenMPRuntime.h
index c35202a513711..7be9c3b1da223 100644
--- a/clang/lib/CodeGen/CGOpenMPRuntime.h
+++ b/clang/lib/CodeGen/CGOpenMPRuntime.h
@@ -73,7 +73,6 @@ class RegionCodeGenTy final {
CodeGenTy Callback;
mutable PrePostActionTy *PrePostAction;
RegionCodeGenTy() = delete;
- RegionCodeGenTy &operator=(const RegionCodeGenTy &) = delete;
template <typename Callable>
static void CallbackFn(intptr_t CodeGen, CodeGenFunction &CGF,
PrePostActionTy &Action) {
More information about the cfe-commits
mailing list