[all-commits] [llvm/llvm-project] 9fe23f: [NFC][analyzer] Fix static analyzer concerns

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


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

  Changed paths:
    M clang/include/clang/Analysis/CFGStmtMap.h

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

CFGStmtMap 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: cor3ntin

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




More information about the All-commits mailing list