[PATCH] D56731: Add -Wimplicit-ctad warning to diagnose CTAD on types with no user defined deduction guides.

Eric Fiselier via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Jan 15 21:43:24 PST 2019


EricWF updated this revision to Diff 181972.
EricWF added a comment.

Address review comments.

- Use "%0 maybe not intend to support ctad" like warning text.
- Add note about suppression.
- Rename `-Wimplicit-ctad` -> `-Wctad-maybe-unsupported` (Perhaps it should be `-Wctad-maybe-unintended`?)

Add more tests!


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D56731/new/

https://reviews.llvm.org/D56731

Files:
  include/clang/Basic/DiagnosticGroups.td
  include/clang/Basic/DiagnosticSemaKinds.td
  lib/Sema/SemaInit.cpp
  test/SemaCXX/cxx1z-class-template-argument-deduction.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D56731.181972.patch
Type: text/x-patch
Size: 5700 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20190116/f96daa5b/attachment.bin>


More information about the cfe-commits mailing list