[all-commits] [llvm/llvm-project] 1ec1cd: [analyzer] Inline operator delete when MayInlineCX...
Fred Tingaud via All-commits
all-commits at lists.llvm.org
Mon May 9 06:48:11 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 1ec1cdcfb49aed24a634999ab90c4feb48100c3e
https://github.com/llvm/llvm-project/commit/1ec1cdcfb49aed24a634999ab90c4feb48100c3e
Author: Fred Tingaud <frederic.tingaud at sonarsource.com>
Date: 2022-05-09 (Mon, 09 May 2022)
Changed paths:
M clang/include/clang/Analysis/ConstructionContext.h
M clang/include/clang/StaticAnalyzer/Core/AnalyzerOptions.def
M clang/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h
M clang/lib/StaticAnalyzer/Core/CallEvent.cpp
M clang/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp
R clang/test/Analysis/cxxnewexpr-callback-inline.cpp
R clang/test/Analysis/cxxnewexpr-callback-noinline.cpp
A clang/test/Analysis/cxxnewexpr-callback.cpp
M clang/test/Analysis/dtor.cpp
Log Message:
-----------
[analyzer] Inline operator delete when MayInlineCXXAllocator is set.
This patch restores the symmetry between how operator new and operator delete
are handled by also inlining the content of operator delete when possible.
Patch by Fred Tingaud.
Reviewed By: martong
Differential Revision: https://reviews.llvm.org/D124845
More information about the All-commits
mailing list