================
@@ -393,13 +399,26 @@ class FactManager {
   const LoanManager &getLoanMgr() const { return LoanMgr; }
   OriginManager &getOriginMgr() { return OriginMgr; }
   const OriginManager &getOriginMgr() const { return OriginMgr; }
+  void setLifetimeBoundParamInfo(const OriginFlowFact *F,
+                                 LifetimeBoundParamInfo Info) {
+    LifetimeBoundParamInfos.try_emplace(F, Info);
+  }
+  std::optional<LifetimeBoundParamInfo>
----------------
Xazax-hun wrote:

Would there be an easy way to change dumping origins to incorporate this info?

https://github.com/llvm/llvm-project/pull/206337
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to