summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/lang/cpp/call-function/TestCallCPPFunction.py
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@gmail.com>2017-04-19 21:09:45 +0000
committerCraig Topper <craig.topper@gmail.com>2017-04-19 21:09:45 +0000
commit9b71a402c2809f99e43bb4b29486d1293461e2a4 (patch)
treecfee1525f91ed86ab7dd25de8f1d605be7369c2b /lldb/packages/Python/lldbsuite/test/lang/cpp/call-function/TestCallCPPFunction.py
parent9a828c1f2b08462d4740c9ff4c78f54096804fc5 (diff)
downloadbcm5719-llvm-9b71a402c2809f99e43bb4b29486d1293461e2a4.tar.gz
bcm5719-llvm-9b71a402c2809f99e43bb4b29486d1293461e2a4.zip
[APInt] Cast calls to add/sub/mul overflow methods to void if only their overflow bool out param is used.
This is preparation for a clang change to improve the [[nodiscard]] warning to not be ignored on methods that return a class marked [[nodiscard]] that are defined in the class itself. See D32207. We should consider adding wrapper methods to APInt that return the overflow flag directly and discard the APInt result. This would eliminate the void casts and the need to create a bool before the call to pass to the out param. llvm-svn: 300758
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/lang/cpp/call-function/TestCallCPPFunction.py')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud