aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineFunction.cpp
diff options
context:
space:
mode:
authorJustin Bogner <mail@justinbogner.com>2016-10-15 00:22:06 +0000
committerJustin Bogner <mail@justinbogner.com>2016-10-15 00:22:06 +0000
commit44264e1353916cbb5d447082c9e7a8ba1c56b9f3 (patch)
tree0e14d07eab7b2d8bf3da93f0063faad4da9285af /llvm/lib/CodeGen/MachineFunction.cpp
parent4b4e705b6731bce365969611563971694c86726b (diff)
downloadllvm-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