[PATCH] D27486: Correct class-template deprecation behavior

Erich Keane via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Jan 12 16:26:31 PST 2017


erichkeane updated this revision to Diff 84192.
erichkeane added a comment.

I've updated this patch based on some of Richard's suggestions, simplified my implementation, and added a few more tests.  Currently the A<int> and B<int> notes are in the wrong place, but I was hoping someone could help me figure out how to correct those?  They are on the initial declaration.

Also, @rsmith: Could you suggest a few more tests?  I'm not sure I captured all of your concerns.


https://reviews.llvm.org/D27486

Files:
  include/clang/Basic/Attr.td
  include/clang/Sema/Sema.h
  lib/Sema/SemaTemplate.cpp
  lib/Sema/SemaTemplateInstantiate.cpp
  lib/Sema/SemaTemplateInstantiateDecl.cpp
  test/CXX/dcl.dcl/dcl.attr/dcl.attr.deprecated/p1.cpp
  utils/TableGen/ClangAttrEmitter.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D27486.84192.patch
Type: text/x-patch
Size: 10350 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20170113/e27a864c/attachment-0001.bin>


More information about the cfe-commits mailing list