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) {


        
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to