summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/python_api
diff options
context:
space:
mode:
authorThomas Preud'homme <thomasp@graphcore.ai>2019-07-10 12:49:28 +0000
committerThomas Preud'homme <thomasp@graphcore.ai>2019-07-10 12:49:28 +0000
commit2bf04f25ff0d56710e12228a00fdd60501d7746e (patch)
treec6ca96d31f844cd9de569fb9898e19f5b392faa9 /lldb/packages/Python/lldbsuite/test/python_api
parentf6ea43b8b302acfae974065f0aa16e7432db099e (diff)
downloadbcm5719-llvm-2bf04f25ff0d56710e12228a00fdd60501d7746e.tar.gz
bcm5719-llvm-2bf04f25ff0d56710e12228a00fdd60501d7746e.zip
[FileCheck] Simplify numeric variable interface
Summary: This patch simplifies 2 aspects in the FileCheckNumericVariable code. First, setValue() method is turned into a void function since being called only on undefined variable is an invariant and is now asserted rather than returned. This remove the assert from the callers. Second, clearValue() method is also turned into a void function since the only caller does not check its return value since it may be trying to clear the value of variable that is already cleared without this being noteworthy. Reviewers: jhenderson, chandlerc, jdenny, probinson, grimar, arichardson, rnk Subscribers: JonChesterfield, rogfer01, hfinkel, kristina, rnk, tra, arichardson, grimar, dblaikie, probinson, llvm-commits, hiraditya Tags: #llvm Differential Revision: https://reviews.llvm.org/D64231 > llvm-svn: 365249 llvm-svn: 365625
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud