llvm-project
17e0686a - [libc++][NFC] Use [[__nodiscard__]] unconditionally (#80454)

Commit
1 year ago
[libc++][NFC] Use [[__nodiscard__]] unconditionally (#80454) `__has_cpp_attribute(__nodiscard__)` is always true now, so we might as well replace `_LIBCPP_NODISCARD`. It's one less macro that can result in bad diagnostics.
Author
Parents
Loading