[PATCH] D21508: Make friend function template definition available if class is instantiated.

Serge Pavlov via cfe-commits cfe-commits at lists.llvm.org
Mon Jun 27 11:42:17 PDT 2016


sepavloff updated this revision to Diff 61989.
sepavloff added a comment.

Make more correct template function definition lookup

Lookup is made recursive to cover more cases.


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.61989.patch
Type: text/x-patch
Size: 5652 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20160627/e36f1de6/attachment.bin>


More information about the cfe-commits mailing list