diff options
author | Justin Bogner <mail@justinbogner.com> | 2016-10-15 00:22:06 +0000 |
---|---|---|
committer | Justin Bogner <mail@justinbogner.com> | 2016-10-15 00:22:06 +0000 |
commit | 44264e1353916cbb5d447082c9e7a8ba1c56b9f3 (patch) | |
tree | 0e14d07eab7b2d8bf3da93f0063faad4da9285af /llvm/lib/CodeGen/MachineFunction.cpp | |
parent | 4b4e705b6731bce365969611563971694c86726b (diff) | |
download | llvm-44264e1353916cbb5d447082c9e7a8ba1c56b9f3.zip llvm-44264e1353916cbb5d447082c9e7a8ba1c56b9f3.tar.gz llvm-44264e1353916cbb5d447082c9e7a8ba1c56b9f3.tar.bz2 |
ADT: Use LLVM_NODISCARD instead of LLVM_ATTRIBUTE_UNUSED_RESULT for APInt
Instead of annotating (most of) the APInt API, we can just annotate
the type directly. This is less code and it will warn in more cases.
llvm-svn: 284297
Diffstat (limited to 'llvm/lib/CodeGen/MachineFunction.cpp')
0 files changed, 0 insertions, 0 deletions