[PATCH] D78404: [clang] Implement P0692R1 from C++20 (access checking on specializations)

Sergej Jaskiewicz via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Apr 17 14:37:29 PDT 2020


broadwaylamb created this revision.
broadwaylamb added reviewers: asl, rsmith, doug.gregor, rjmccall, triton.
broadwaylamb added a project: clang.
Herald added subscribers: cfe-commits, dexonsmith.

This patch implements paper P0692R1 <http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2017/p0692r1.html> from the C++20 standard.

This also fixes a bug (https://llvm.org/PR37424) where explicit instantiations of templates parameterized by overloaded private member functions were incorrectly rejected.

This is my first contribution to CFE, so please let me know if I did something horribly wrong.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D78404

Files:
  clang/lib/Parse/ParseDeclCXX.cpp
  clang/test/CXX/temp/temp.decls/temp.class.spec/p10.cpp
  clang/test/CXX/temp/temp.spec/p6.cpp
  clang/test/CXX/temp/temp.spec/temp.explicit/p11.cpp
  clang/www/cxx_status.html

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D78404.258424.patch
Type: text/x-patch
Size: 7397 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20200417/dd272071/attachment.bin>


More information about the cfe-commits mailing list