[PATCH] D16989: Change interpretation of function definition in friend declaration of template class.

Serge Pavlov via cfe-commits cfe-commits at lists.llvm.org
Mon Aug 29 11:35:52 PDT 2016


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

Updated patch

Added missing checks for forward declarations in `shouldLinkDependentDeclWithPrevious`.
Added test case from an ancient bug report.


https://reviews.llvm.org/D16989

Files:
  include/clang/Sema/Sema.h
  lib/Sema/SemaDecl.cpp
  test/SemaCXX/PR25848.cpp
  test/SemaCXX/friend2.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D16989.69595.patch
Type: text/x-patch
Size: 7955 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20160829/280880c3/attachment.bin>


More information about the cfe-commits mailing list