[llvm-bugs] [Bug 10011] clang should warn on "string.empty()" when the return value is ignored
    via llvm-bugs 
    llvm-bugs at lists.llvm.org
       
    Mon Apr  2 10:57:23 PDT 2018
    
    
  
https://bugs.llvm.org/show_bug.cgi?id=10011
Marshall Clow (home) <mclow.lists at gmail.com> changed:
           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|NEW                         |RESOLVED
                 CC|                            |mclow.lists at gmail.com
--- Comment #11 from Marshall Clow (home) <mclow.lists at gmail.com> ---
string.empty() is now marked "[[nodiscard]]" (after C++17)
This was done as part of applying https://wg21.link/P600
-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20180402/9962bc71/attachment.html>
    
    
More information about the llvm-bugs
mailing list