Files
clang-p2996/clang/lib/Sema/SemaExprMember.cpp
cor3ntin 9a1e39062b [Clang] Do not emit nodiscard warnings for the base expr of static member access (#131450)
For an expression `nodiscard_function().static_member(), the nodiscard
warnings added by #120223, are not useful or actionable, and are
disruptive to some library implementations; we just remove them.

Fixes #131410
2025-03-15 22:27:08 +01:00

78 KiB