[cfe-dev] Problem with C++11 template methods, friend, and namespaces

John Brawn via cfe-dev cfe-dev at lists.llvm.org
Fri Feb 24 10:39:29 PST 2017


This does look like a valid bug, and I've put a comment in the Bugzilla
ticket. It looks like something is going wrong with the handling of
default template arguments when instantiating friend template declarations,
though where exactly in clang the bug is originating I haven't a clue.

John

> -----Original Message-----
> From: cfe-dev [mailto:cfe-dev-bounces at lists.llvm.org] On Behalf Of
> Johnny Willemsen via cfe-dev
> Sent: 24 February 2017 15:27
> To: cfe-dev at lists.llvm.org
> Subject: [cfe-dev] Problem with C++11 template methods, friend, and
> namespaces
> 
> Hi,
> 
> We reported an issue when we combine template methods, friend, and
> namespace in 2014 and nothing happened with the report until now (see
> https://bugs.llvm.org//show_bug.cgi?id=20877). Could maybe one of the
> developers confirm/deny that this is an issue or are we assuming some
> incorrect C++11 code?
> 
> Best regards,
> 
> Johnny Willemsen
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev


More information about the cfe-dev mailing list