[PATCH] D152504: [clang][ThreadSafety] Analyze cleanup functions
Timm Bäder via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Jun 9 00:57:33 PDT 2023
tbaeder created this revision.
tbaeder added reviewers: NoQ, aaron.ballman, krememek, dergachev.a, MikeStump.
Herald added a project: All.
tbaeder requested review of this revision.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.
When a declaration has a cleanup function attached, add it to the CFG. This is basically a destructor on a per-declaration basis.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D152504
Files:
clang/lib/Analysis/CFG.cpp
clang/test/Sema/warn-thread-safety-analysis.c
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D152504.529849.patch
Type: text/x-patch
Size: 3599 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20230609/f2194b78/attachment.bin>
More information about the cfe-commits
mailing list