================
@@ -256,6 +256,30 @@ OriginList *OriginManager::getOrCreateList(const ValueDecl 
*D) {
   return DeclToList[D] = buildListForType(D->getType(), D);
 }
 
+/// Returns true if the field named by \p ME denotes a subobject of `*this`,
+/// reached as `this->f` or through anonymous-struct/union subobjects.
+static bool isSubobjectOfThis(const MemberExpr *ME) {
----------------
NeKon69 wrote:

No no, I linked it here just for the context that we're already doing something 
similar. I think it's ok to land this as a standalone patch.

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

Reply via email to