ABataev added inline comments.
================
Comment at: clang/lib/CodeGen/CodeGenFunction.h:1070
     void operator=(const OMPPrivateScope &) = delete;
+    bool MapRestored = false;
 
----------------
Better to make it a property of MappedVars. Also, are there any issues if just 
restore it several times without checking?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D131272/new/

https://reviews.llvm.org/D131272

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

Reply via email to