Open carlosgalvezp opened 1 month ago
@llvm/issue-subscribers-clang-frontend
Author: Carlos Galvez (carlosgalvezp)
We diagnose unused private fields which suggests we really should handle unused private functions (and other private declarations as well). I can't think of a reason not to warn on them.
Hi!
I notice clang doesn't diagnose this unused private member function:
https://godbolt.org/z/nPTPd4dqc
I'm curious to understand why that's the case. Is there high likelihood of false positives?
Thanks!