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

Mariya Podchishchaeva via All-commits all-commits at lists.llvm.org
Fri Jul 28 05:35:27 PDT 2023


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

  Changed paths:
    M clang/include/clang/Sema/IdentifierResolver.h

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

IdentifierResolver frees resources in the destructor but doesn't
have user-written copy c'tor or assignment operator, so copying it using
default ones can cause double free.

Reviewed By: aaron.ballman

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




More information about the All-commits mailing list