[PATCH] D129755: Thread safety analysis: Support copy-elided production of scoped capabilities through arbitrary calls
NAKAMURA Takumi via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Oct 6 17:27:32 PDT 2022
chapuni added inline comments.
================
Comment at: clang/lib/Analysis/ThreadSafety.cpp:1789
+ auto inserted = ConstructedObjects.insert({Exp, Placeholder.first});
+ assert(inserted.second && "Are we visiting the same expression again?");
+ if (isa<CXXConstructExpr>(Exp))
----------------
'inserted' is used only here.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D129755/new/
https://reviews.llvm.org/D129755
More information about the cfe-commits
mailing list