Lately libc++ has been adding the C++17 [[nodiscard]] attribute aggressively to every header.
(I’m not sure why this month, but my guess is that libc++ just dropped support
for some old compiler such that all their supported compilers now permit the attribute
even in C++11 mode.) libc++ is following the trail that Microsoft STL has blazed
since VS 15.6 in late 2017.