[cfe-dev] SemaTemplateInstantiateDecl mistakenly issuing diag::warn_func_template_missing for templated deduction guides

Serge Pavlov via cfe-dev cfe-dev at lists.llvm.org
Wed Oct 25 11:12:11 PDT 2017


2017-10-25 23:18 GMT+07:00 Aaron Ballman via cfe-dev <cfe-dev at lists.llvm.org

> On Wed, Oct 25, 2017 at 12:16 PM, Nico Weber via cfe-dev
> <cfe-dev at lists.llvm.org> wrote:
> > The post-commit review thread for this warning concluded that this
> warning
> > probably shouldn't be on by default, but looks like it didn't get
> disabled.
This warning is off by default, but in this case it was enabled by command
line option.

> We don't usually add off-by-default diagnostics because almost no one
> ever enables them, so perhaps the diagnostic should simply be removed
> if it's low-value?
The two warnings added in r266719 were intended to assist problem solving
in the case of
module builds and they were really helpful.

There are many warnings disabled by default. For instance,
'-Wfloat-conversion', which is
useful in some cases.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20171026/eb187d83/attachment.html>

More information about the cfe-dev mailing list