ChuanqiXu added inline comments.

================
Comment at: clang/test/SemaTemplate/concepts.cpp:391
+
+  CausesFriendConstraint<int> CFC;
+  FriendFunc(CFC, 1);
----------------
erichkeane wrote:
> erichkeane wrote:
> > A bunch of the tests below this all fail.
> See these two tests, which fail by saying that "::local is not a member of 
> class 'X'".
I've spent some time to look into this. I don't find the root cause now. But I 
find that it is related to the wrong lookups. The error is emitted in 
CheckQualifiedMemberReference. And it looks like we lookup for the original S 
instead of the instantiated S. And the compiler thinks the 2 structs are 
different. So here is the error. Do you have any other ideas?


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D119544/new/

https://reviews.llvm.org/D119544

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to