diff options
author | Podchishchaeva, Mariya <mariya.podchishchaeva@intel.com> | 2023-08-03 08:27:00 -0700 |
---|---|---|
committer | Podchishchaeva, Mariya <mariya.podchishchaeva@intel.com> | 2023-08-03 08:36:49 -0700 |
commit | f887cb10acc9fb21e389703062398adf1331232f (patch) | |
tree | 4d34d82d0445ae55b7595e25baa362408a7c6e09 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | a8c502a589391277302fe9b60607b65e2fbbb1ea (diff) | |
download | llvm-f887cb10acc9fb21e389703062398adf1331232f.zip llvm-f887cb10acc9fb21e389703062398adf1331232f.tar.gz llvm-f887cb10acc9fb21e389703062398adf1331232f.tar.bz2 |
[NFC][clang] Fix static analyzer concerns
ToolInvocation 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/D156896
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions