[PATCH] D54565: Introduce `-Wctad` as a subgroup of `-Wc++14-compat`

Arthur O'Dwyer via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Dec 21 13:34:22 PST 2018


Quuxplusone added a comment.

In D54565#1339454 <https://reviews.llvm.org/D54565#1339454>, @thakis wrote:

> Since I don't know what it means, I don't know if I want a diagnostic for it :-)


Fair point. ;) But the full text of the diagnostic message does say "class template argument deduction is...," which does hint at the meaning of "CTAD."
I just checked and the text of the diagnostic for `-Wvla` is "variable length array used"; maybe I should follow its lead and just say "class template argument deduction used," thus even further divorcing this option from `-Wc++14-compat`.


Repository:
  rC Clang

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

https://reviews.llvm.org/D54565





More information about the cfe-commits mailing list