Annotate APInt methods where it's not clear whether they are in place with warn_unuse...
authorBenjamin Kramer <benny.kra@googlemail.com>
Sat, 16 Nov 2013 16:25:41 +0000 (16:25 +0000)
committerBenjamin Kramer <benny.kra@googlemail.com>
Sat, 16 Nov 2013 16:25:41 +0000 (16:25 +0000)
commitb69143c6a9bfc969e7c95bbd48b83bb962086070
tree6aa7a4e07fbcd33f7b6465e1e7e35d212cb493c1
parent411079785388290738049dd099bff8755e6a2c8d
Annotate APInt methods where it's not clear whether they are in place with warn_unused_result.

Fix ScalarEvolution bugs uncovered by this.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@194928 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/ADT/APInt.h
include/llvm/ADT/APSInt.h
lib/Analysis/ScalarEvolution.cpp