llvm-project
17e0686a
- [libc++][NFC] Use [[__nodiscard__]] unconditionally (#80454)
Go
Login via GitHub
Home
Pricing
FAQ
Install
Login
via GitHub
Commit
View On
GitHub
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.
References
#80454 - [libc++][NFC] Use [[__nodiscard__]] unconditionally
Author
philnik777
Parents
c6b2aa18
Loading