<div dir="ltr">Ping.</div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature" data-smartmail="gmail_signature">Thanks,<br>--Serge<br></div></div>
<br><div class="gmail_quote">2016-08-01 21:47 GMT+07:00 Serge Pavlov <span dir="ltr"><<a href="mailto:sepavloff@gmail.com" target="_blank">sepavloff@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">sepavloff created this revision.<br>
sepavloff added a subscriber: cfe-commits.<br>
<br>
Function specializations used in friend declarations in class templates, like:<br>
```<br>
template<typename T> class C1 {<br>
friend void func<>(int);<br>
```<br>
previously were processed incorrectly: class instantiation made them ordinary<br>
functions and they were not placed into redeclaration chains correctly. This<br>
change repairs specialization treatment.<br>
<br>
This change fixes PR12994.<br>
<br>
<a href="https://reviews.llvm.org/D23016" rel="noreferrer" target="_blank">https://reviews.llvm.org/<wbr>D23016</a><br>
<br>
Files:<br>
lib/AST/DeclTemplate.cpp<br>
lib/Sema/SemaAccess.cpp<br>
lib/Sema/<wbr>SemaTemplateInstantiateDecl.<wbr>cpp<br>
test/SemaCXX/friend-spec.cpp<br>
<br>
</blockquote></div><br></div>