Ping.

Thanks,
--Serge

2016-08-01 21:47 GMT+07:00 Serge Pavlov <sepavl...@gmail.com>:

> sepavloff created this revision.
> sepavloff added a subscriber: cfe-commits.
>
> Function specializations used in friend declarations in class templates,
> like:
> ```
>     template<typename T> class C1 {
>         friend void func<>(int);
> ```
> previously were processed incorrectly: class instantiation made them
> ordinary
> functions and they were not placed into redeclaration chains correctly.
> This
> change repairs specialization treatment.
>
> This change fixes PR12994.
>
> https://reviews.llvm.org/D23016
>
> Files:
>   lib/AST/DeclTemplate.cpp
>   lib/Sema/SemaAccess.cpp
>   lib/Sema/SemaTemplateInstantiateDecl.cpp
>   test/SemaCXX/friend-spec.cpp
>
>
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to