llvm-project
8d64f568 - [Clang] Honour [[maybe_unused]] on private fields (#187940)

Commit
30 days ago
[Clang] Honour [[maybe_unused]] on private fields (#187940) Before this commit, [[maybe_unused]] on private fields was ignored. In conjunction with `-Wunused-private-field`, false warnings were emitted by clang. This commit fixes this by checking if an unused private field is annotated with [[maybe_unused]].
Parents
Loading