SIGN IN SIGN UP

Add BYN_WARN_UNUSED macro and apply to Name and IString (#8973)

Define `BYN_WARN_UNUSED` using `[[gnu::warn_unused]]` for GCC/Clang and
fallback for other compilers. Annotating `IString` and `Name` with this
attribute allows compilers to report unused variable diagnostics for
default-constructed instances regardless of non-trivial constructors.

Followup to #8972.

Once this lands we can extend this to other types to get better
coverage.
S
Sam Clegg committed
b97310a2f0c5db3ae30e5e52d4430d3e82acfd56
Parent: e821d17
Committed by GitHub <noreply@github.com> on 8/6/2026, 8:33:57 PM