================
@@ -298,6 +298,8 @@ OriginList *OriginManager::getOrCreateList(const Expr *E) {
     // `p` points to.
     if (doesDeclHaveStorage(ReferencedDecl)) {
       Head = createNode(E, QualType{});
+      // `this->f` reaches its field through `this` instead of naming it.
+      AllOrigins.back().NamesDeclStorage = isa<DeclRefExpr>(E);
----------------
Xazax-hun wrote:

Plumbed the flag through the ctors and factories. 

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

Reply via email to