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

Mariya Podchishchaeva via All-commits all-commits at lists.llvm.org
Tue Jul 25 02:44:15 PDT 2023


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

  Changed paths:
    M clang/lib/CodeGen/EHScopeStack.h

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

EHScopeStack doesn't seem to be intended for copy. It frees memory in
the destructor and doesn't have user-written copy c'tor and assignment
operator, so delete them to avoid using default ones which would do
wrong.

Reviewed By: aaron.ballman

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




More information about the All-commits mailing list