commit | 097967f645f7903ca428ecef37b3bb2feefac65e | [log] [tgz] |
---|---|---|
author | Justin Bogner <mail@justinbogner.com> | Sun Oct 16 20:30:40 2016 +0000 |
committer | Justin Bogner <mail@justinbogner.com> | Sun Oct 16 20:30:40 2016 +0000 |
tree | 56bb019b098df0a9db32021d77a38e5ecc79ac46 | |
parent | 6ae3d4e42da043935aecaf351baa5cdde7b1b06a [diff] |
ADT: Use LLVM_NODISCARD instead of LLVM_ATTRIBUTE_UNUSED_RESULT for ArrayRef Instead of annotating (most of) the ArrayRef 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@284342 91177308-0d34-0410-b5e6-96231b3b80d8