[libcxx-commits] [PATCH] D144667: [libc++] Enable -Wunused-template

Nikolas Klauser via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Tue Feb 28 08:24:09 PST 2023


philnik added inline comments.


================
Comment at: libcxx/src/filesystem/filesystem_common.h:51
 _LIBCPP_CLANG_DIAGNOSTIC_IGNORED("-Wunused-function")
+_LIBCPP_CLANG_DIAGNOSTIC_IGNORED("-Wunused-template")
 
----------------
ldionne wrote:
> Which functions in this file trigger the warning?
I don't know exactly, but this has to be cleaned up anyways. Currently, everything in this file is inside an anonymous namespace and marked `static`. I don't know why it's this way, but I don't think there is a good reason for it.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D144667



More information about the libcxx-commits mailing list