[PATCH] D126818: Itanium ABI: Implement mangling for constrained friends

Tom Honermann via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Jun 2 14:03:51 PDT 2022


tahonermann added a comment.

I wonder if I'm reading (temp.friend)p9` sentence 2 <http://eel.is/c++draft/temp.friend#9.sentence-2> correctly. Which of these should it be parsed as?

1. A (friend function template with a constraint) that depends on a template parameter from an enclosing template shall be a definition.
2. A friend function template (with a constraint that depends on a template parameter from an enclosing template) shall be a definition.

I'm guessing that the first interpretation is the intent.


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

https://reviews.llvm.org/D126818



More information about the cfe-commits mailing list