[PATCH] D157385: [clang][CFG] Cleanup functions
Timm Bäder via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Aug 21 07:59:31 PDT 2023
tbaeder added inline comments.
================
Comment at: clang/lib/Analysis/ThreadSafety.cpp:2429-2438
+
+ case CFGElement::CleanupFunction: {
+ const CFGCleanupFunction &CF = BI.castAs<CFGCleanupFunction>();
+
+ LocksetBuilder.handleCall(nullptr, CF.getFunctionDecl(),
+ SxBuilder.createVariable(CF.getVarDecl()),
+ CF.getVarDecl()->getLocation());
----------------
aaronpuchert wrote:
> Should this be part of a follow-up? (For which you might revive D152504.)
Ah, yes, probably.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D157385/new/
https://reviews.llvm.org/D157385
More information about the cfe-commits
mailing list