<div dir="ltr">Any feedback?</div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature">Thanks,<br>--Serge<br></div></div>
<br><div class="gmail_quote">2016-01-21 14:33 GMT+06: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 reviewer: rsmith.<br>
sepavloff added subscribers: cfe-commits, silvas.<br>
<br>
Instantiation of static class members may be a source of user misunderstanding,<br>
especially in the case of using modules, PR24425 describes one of such examples.<br>
This patch implements warning if compiler tried to make implicit instantiation<br>
but could not find template definition. The implementation follows discussion<br>
of <a href="http://reviews.llvm.org/D12326" rel="noreferrer" target="_blank">http://reviews.llvm.org/D12326</a>.<br>
<br>
<a href="http://reviews.llvm.org/D16396" rel="noreferrer" target="_blank">http://reviews.llvm.org/D16396</a><br>
<br>
Files:<br>
  include/clang/Basic/DiagnosticGroups.td<br>
  include/clang/Basic/DiagnosticSemaKinds.td<br>
  include/clang/Sema/Sema.h<br>
  lib/Sema/SemaTemplateInstantiateDecl.cpp<br>
  test/CXX/temp/temp.decls/temp.mem/p1.cpp<br>
  test/OpenMP/parallel_ast_print.cpp<br>
  test/OpenMP/parallel_sections_ast_print.cpp<br>
  test/OpenMP/task_ast_print.cpp<br>
  test/OpenMP/teams_ast_print.cpp<br>
  test/OpenMP/threadprivate_ast_print.cpp<br>
  test/SemaCXX/PR10177.cpp<br>
  test/SemaCXX/undefined-internal.cpp<br>
  test/SemaTemplate/unavailable-var-template.cpp<br>
<br>
</blockquote></div><br></div>