[all-commits] [llvm/llvm-project] d45710: [Clang] Fix -Wunused-private-field false negative ...
Chris White via All-commits
all-commits at lists.llvm.org
Thu Dec 5 07:33:10 PST 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: d457100a8152cc2ebf8cd219caae92cc0f591156
https://github.com/llvm/llvm-project/commit/d457100a8152cc2ebf8cd219caae92cc0f591156
Author: Chris White <chriswhiteiodev at gmail.com>
Date: 2024-12-05 (Thu, 05 Dec 2024)
Changed paths:
M clang/docs/ReleaseNotes.rst
M clang/lib/Sema/SemaDeclCXX.cpp
M clang/test/SemaCXX/warn-unused-private-field.cpp
Log Message:
-----------
[Clang] Fix -Wunused-private-field false negative with defaulted comparison operators (#116871)
Fix -Wunused-private-field incorrectly suppressing warnings for friend
defaulted comparison operators. The warning should only be suppressed
when the defaulted comparison is a class member function.
Fixes #116270
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list