[libc-commits] [libc] [libc] [Chore] Enable most libc disabled warnings (PR #122835)
Vinay Deshmukh via libc-commits
libc-commits at lists.llvm.org
Mon Jan 13 16:52:09 PST 2025
================
@@ -81,7 +81,7 @@ struct Message {
// A trivial object to catch the Message, this enables custom logging and
// returning from the test function, see LIBC_TEST_SCAFFOLDING_ below.
struct Failure {
- void operator=(Message msg) {}
+ void operator=(Message /*msg*/) {}
----------------
vinay-deshmukh wrote:
Used this style to disable "unused-parameter".
let me know if LLVM prefers `[[maybe_unused]]` over this instead.
https://github.com/llvm/llvm-project/pull/122835
More information about the libc-commits
mailing list