<div dir="ltr">(it's helpful to attach the patch directly to the review thread here, rather than (or at least in addition to) the bug - makes it easier for people to find and review)<br><br>& rather than creating other threads on the subject (I just saw your mail to cfe-dev), it's reasonable to ping a review thread (simply reply-all with the word 'ping') every week or so. Sometimes it takes a little while for people to get to things, though I don't imagine it'll take too long.<br><br><a href="http://llvm.org/docs/DeveloperPolicy.html#making-and-submitting-a-patch">http://llvm.org/docs/DeveloperPolicy.html#making-and-submitting-a-patch</a> discusses some of these issues.<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Oct 4, 2014 at 6:34 AM, Anton Bikineev <span dir="ltr"><<a href="mailto:ant.bikineev@gmail.com" target="_blank">ant.bikineev@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi all,<br>
<br>
I recently found that Clang doesn't behave similiar as GCC<br>
in case of partial specialization ater implicit or explicit<br>
specialization of class template. GCC gives diagnostic like<br>
<br>
"error: partial specialization of 'A<const T*>' after instantiation of<br>
'A<const char*>'"<br>
<br>
while Clang just ignores it.<br>
<br>
C++ [temp.class.spec]p.1 says, that:<br>
"A partial specialization shall be declared before the first<br>
use of a class template specialization that would make use of<br>
the partial specialization as the result of an implicit or explicit<br>
instantiation in every translation unit in which such a use occurs;<br>
no diagnostic is required."<br>
<br>
I'm not sure, probably Clang has its own politics for this. I also<br>
submitted a bug <a href="http://llvm.org/bugs/show_bug.cgi?id=21156" target="_blank">http://llvm.org/bugs/show_bug.cgi?id=21156</a> and<br>
wrote a patch, which I attached to bug.<br>
<br>
I just was wondering, does it really make sense? I'm kind of newbie<br>
in Clang and my code may be incorrect.<br>
<br>
Thanks in advance.<br>
<br>
_______________________________________________<br>
cfe-commits mailing list<br>
<a href="mailto:cfe-commits@cs.uiuc.edu">cfe-commits@cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits</a><br>
</blockquote></div><br></div>