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

Mariya Podchishchaeva via All-commits all-commits at lists.llvm.org
Thu Aug 3 08:43:48 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 25d6f9ddc1913de1094fa610ce77288f337771a2
      https://github.com/llvm/llvm-project/commit/25d6f9ddc1913de1094fa610ce77288f337771a2
  Author: Podchishchaeva, Mariya <mariya.podchishchaeva at intel.com>
  Date:   2023-08-03 (Thu, 03 Aug 2023)

  Changed paths:
    M clang/include/clang/AST/APValue.h

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

A bunch of classes in APValue free resources in the destructor but don't
have user-written copy c'tor or assignment operator, so copying them using
default ones can cause double free.

Reviewed By: aaron.ballman

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




More information about the All-commits mailing list