================
@@ -2896,6 +2896,9 @@ class TreeTransform {
     SS.Adopt(QualifierLoc);
 
     Base = BaseResult.get();
+    if (Base->containsErrors())
+      return ExprError();
----------------
mizvekov wrote:

I am still traveling back from St Louis, so I can't double check this:

Why is this point the farthest we can go if Base contains errors?

It seems we can build a reference expression over it from the cases above, but 
why not below?

https://github.com/llvm/llvm-project/pull/97455
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to