[PATCH] D26596: [RFC] Add _LIBCPP_NO_DISCARD and apply it to `Container::empty()`, `unique_ptr<T>::release()`, and `Lockable::try_lock()`
    Marshall Clow via Phabricator via cfe-commits 
    cfe-commits at lists.llvm.org
       
    Wed Feb  7 15:43:44 PST 2018
    
    
  
mclow.lists requested changes to this revision.
mclow.lists added a comment.
This revision now requires changes to proceed.
Since we've implemented P0600, I believe that this patch is out of date.
The correct macro is `_LIBCPP_NODISCARD_AFTER_CXX17`, and I think that several of these cases are now handled.
https://reviews.llvm.org/D26596
    
    
More information about the cfe-commits
mailing list