[all-commits] [llvm/llvm-project] cc928c: [NFC][clang] Fix static analyzer concerns

Mariya Podchishchaeva via All-commits all-commits at lists.llvm.org
Mon Jul 24 05:30:15 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: cc928c683058b2e43d250234066609008aa02f68
      https://github.com/llvm/llvm-project/commit/cc928c683058b2e43d250234066609008aa02f68
  Author: Podchishchaeva, Mariya <mariya.podchishchaeva at intel.com>
  Date:   2023-07-24 (Mon, 24 Jul 2023)

  Changed paths:
    M clang/lib/CodeGen/CGStmtOpenMP.cpp

  Log Message:
  -----------
  [NFC][clang] Fix static analyzer concerns

OMPTransformDirectiveScopeRAII doesn't have user-written copy
constructor/assignment operator but it frees memory in the destructor.
Delete these members since doesn't seem that OMPTransformDirectiveScopeRAII
objects are intended for copy.

Reviewed By: tahonermann, ABataev

Differential Revision: https://reviews.llvm.org/D155849




More information about the All-commits mailing list