[PATCH] D143524: Make the -Wunused-template default.
Vassil Vassilev via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Feb 23 12:26:27 PST 2023
v.g.vassilev added a comment.
In D143524#4148271 <https://reviews.llvm.org/D143524#4148271>, @philnik wrote:
> It looks like this warning is incompatible with `-Wctad-maybe-unsupported`. It warns that the deduction guide is unused, but the deduction guide is required suppress `-Wctad-maybe-unsupported`. https://godbolt.org/z/G8bMjYsbn
That should not be too hard to fix. It seems that just need to ignore `CXXDeductionGuideDecl` in `Sema::ShouldRemoveFromUnused`. Is that blocking you?
Repository:
rC Clang
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D143524/new/
https://reviews.llvm.org/D143524
More information about the cfe-commits
mailing list