[PATCH] D21508: Make friend function template definition available if class is instantiated.
Serge Pavlov via cfe-commits
cfe-commits at lists.llvm.org
Sun Jun 19 12:56:21 PDT 2016
sepavloff created this revision.
sepavloff added a reviewer: rsmith.
sepavloff added a subscriber: cfe-commits.
Similar to friend functions, if a friend function template is defined in a
class template, its definition is available only if the class is instantiated.
http://reviews.llvm.org/D21508
Files:
include/clang/AST/DeclTemplate.h
lib/AST/DeclTemplate.cpp
lib/Sema/SemaDecl.cpp
test/SemaCXX/friend2.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D21508.61222.patch
Type: text/x-patch
Size: 5473 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20160619/bebf2aa9/attachment-0001.bin>
More information about the cfe-commits
mailing list