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

Eli Friedman via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Jul 9 14:59:13 PDT 2018


efriedma updated this revision to Diff 154707.
efriedma edited the summary of this revision.
efriedma added a comment.

Move declspec checks before call to GetTypeForDeclarator, since it can fail for class templates.


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.154707.patch
Type: text/x-patch
Size: 4424 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180709/d4e628fb/attachment.bin>


More information about the cfe-commits mailing list