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

Serge Pavlov via cfe-commits cfe-commits at lists.llvm.org
Thu Sep 1 23:11:02 PDT 2016


sepavloff updated this revision to Diff 70134.
sepavloff marked an inline comment as done.
sepavloff added a comment.

Updated patch

Rewrite the condition in shouldLinkDependentDeclWithPrevious in more compact form.


https://reviews.llvm.org/D16989

Files:
  include/clang/Sema/Sema.h
  lib/Sema/SemaDecl.cpp
  lib/Sema/SemaDeclCXX.cpp
  test/SemaCXX/PR25848.cpp
  test/SemaCXX/friend2.cpp
  test/SemaCXX/function-redecl-2.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D16989.70134.patch
Type: text/x-patch
Size: 9424 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20160902/cb04b115/attachment.bin>


More information about the cfe-commits mailing list