[llvm] r284364 - ADT: Use LLVM_NODISCARD instead of LLVM_ATTRIBUTE_UNUSED_RESULT for StringRef

Zachary Turner via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 28 09:45:58 PST 2016


On Mon, Nov 28, 2016 at 9:18 AM David Blaikie <dblaikie at gmail.com> wrote:

> especially considering templates in APIs that might expose such things
> indirectly (& possibly be unannotatable because they're in the STL))
>

I hadn't thought of this, but it's also a good point.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20161128/85da0030/attachment.html>


More information about the llvm-commits mailing list