[PATCH] D21767: Fix instantiation of friend function templates

Serge Pavlov via cfe-commits cfe-commits at lists.llvm.org
Mon Jun 27 13:07:53 PDT 2016


sepavloff created this revision.
sepavloff added a reviewer: rsmith.
sepavloff added a subscriber: cfe-commits.

If a function template was defined in a friend declaration in a
template class, it was not instantiated because template definition
was not found.

http://reviews.llvm.org/D21767

Files:
  lib/AST/Decl.cpp
  lib/Sema/SemaTemplateInstantiate.cpp
  test/SemaTemplate/instantiate-friend-function.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D21767.62008.patch
Type: text/x-patch
Size: 3258 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20160627/d1f5fae9/attachment.bin>


More information about the cfe-commits mailing list