[all-commits] [llvm/llvm-project] cb63fa: [NFC][clang] Fix static analyzer concerns
Mariya Podchishchaeva via All-commits
all-commits at lists.llvm.org
Wed Jul 26 08:49:48 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: cb63fa00d1f723e3b4e2fb5e6645595eb0a6e84c
https://github.com/llvm/llvm-project/commit/cb63fa00d1f723e3b4e2fb5e6645595eb0a6e84c
Author: Podchishchaeva, Mariya <mariya.podchishchaeva at intel.com>
Date: 2023-07-26 (Wed, 26 Jul 2023)
Changed paths:
M clang/lib/Sema/TypeLocBuilder.h
Log Message:
-----------
[NFC][clang] Fix static analyzer concerns
TypeLocBuilder 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/D156222
More information about the All-commits
mailing list