efriedma added a comment.

I thought the template case wasn't using the same codepath, but apparently I 
was just confusing myself.  The exact form "template <typename T> friend class 
Y;" triggers an early out in Sema::ActOnFriendTypeDecl, so my code wasn't 
getting hit. I'll revise accordingly.


Repository:
  rC Clang

https://reviews.llvm.org/D45712



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

Reply via email to