================ @@ -1544,7 +1544,10 @@ class BuildLockset : public ConstStmtVisitor<BuildLockset> { // The fact set for the function on exit. const FactSet &FunctionExitFSet; /// Maps constructed objects to `this` placeholder prior to initialization. - llvm::SmallDenseMap<const Expr *, til::LiteralPtr *> ConstructedObjects; + /// The map lives longer than this builder so this is a reference to an + /// existing one. The map lives so long as the CFG while this builder is for + /// one CFG block. ---------------- aaronpuchert wrote:
It's probably sufficient to explain this in the commit message. https://github.com/llvm/llvm-project/pull/74020 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits