[clang] [LifetimeSafety] Track origins for lifetimebound calls returning record types (PR #187917)

Gábor Horváth via cfe-commits cfe-commits at lists.llvm.org
Thu Mar 26 03:18:55 PDT 2026


================
@@ -169,6 +171,14 @@ class OriginManager {
   template <typename T>
   OriginList *buildListForType(QualType QT, const T *Node);
 
+  void initializeThisOrigins(const Decl *D);
----------------
Xazax-hun wrote:

I am still wondering if `ThisOrigins` is confusing, as these origins are not necessarily used for the implicit this object. Shouldn't we say TypeOrigins or something more general?

https://github.com/llvm/llvm-project/pull/187917


More information about the cfe-commits mailing list