[PATCH] D21767: Fix instantiation of friend function templates

Serge Pavlov via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sun Jul 23 04:11:35 PDT 2017


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

Reworked patch

Used more general way to cope with calculation of instantiation
stack, which is suitable for cases represented in PR26512.

Added new tests.


https://reviews.llvm.org/D21767

Files:
  include/clang/AST/ASTLambda.h
  include/clang/AST/Decl.h
  include/clang/Sema/Sema.h
  lib/AST/Decl.cpp
  lib/Sema/SemaTemplateInstantiate.cpp
  lib/Sema/SemaTemplateInstantiateDecl.cpp
  test/SemaTemplate/instantiate-friend-function.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D21767.107817.patch
Type: text/x-patch
Size: 29074 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20170723/6a367762/attachment-0001.bin>


More information about the cfe-commits mailing list