[PATCH] D143524: Make the -Wunused-template default.

Nikolas Klauser via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Feb 23 10:18:46 PST 2023


philnik added a comment.

The emitted warnings from the libc++ CI look like a false-positive to me. While the functions are never called, they are used in an unevaluated context. I would expect `-Wunused` warnings to only be emitted when I can just remove the code without problems, which doesn't seem to be the case here. It would probably just get turned off again by lots of people if there are too many false-positives, which I don't think is the goal here.


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