commit | 4e1daa7c89a52b8e2de555a6711b89f35eeefdf9 | [log] [tgz] |
---|---|---|
author | Justin Bogner <mail@justinbogner.com> | Mon Oct 17 06:35:23 2016 +0000 |
committer | Justin Bogner <mail@justinbogner.com> | Mon Oct 17 06:35:23 2016 +0000 |
tree | 5baf951130a62339fd066f3eea88a0a21c174d1b | |
parent | d56fafdbd20e230d34d0ff6365b3461d7b3e0bc1 [diff] |
ADT: Use LLVM_NODISCARD instead of LLVM_ATTRIBUTE_UNUSED_RESULT for StringRef Instead of annotating (most of) the StringRef API, we can just annotate the type directly. This is less code and it will warn in more cases. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@284364 91177308-0d34-0410-b5e6-96231b3b80d8