[PATCH] D45712: [WIP] Diagnose invalid cv-qualifiers for friend decls.

Eli Friedman via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Apr 16 18:40:42 PDT 2018


efriedma created this revision.
efriedma added a reviewer: rsmith.

WIP because I'm having trouble figuring out where to diagnose friend templates; suggestions welcome.


Repository:
  rC Clang

https://reviews.llvm.org/D45712

Files:
  lib/Sema/SemaDeclCXX.cpp
  test/CXX/class.access/class.friend/p3-cxx0x.cpp
  test/Modules/odr_hash.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D45712.142726.patch
Type: text/x-patch
Size: 4349 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180417/c256d6b2/attachment.bin>


More information about the cfe-commits mailing list