summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/expression_command/call-function/TestCallUserDefinedFunction.py
diff options
context:
space:
mode:
authorRui Ueyama <ruiu@google.com>2016-03-13 04:25:41 +0000
committerRui Ueyama <ruiu@google.com>2016-03-13 04:25:41 +0000
commit6eafa7fb23a623c959a568dcfa3293fcd53ea7c6 (patch)
tree0d627ef061c6802ef8b696b4847e079f36fe41cd /lldb/packages/Python/lldbsuite/test/expression_command/call-function/TestCallUserDefinedFunction.py
parentb30f73568f490c4b49b5534b3d5cfbd6f1ca05ea (diff)
downloadbcm5719-llvm-6eafa7fb23a623c959a568dcfa3293fcd53ea7c6.tar.gz
bcm5719-llvm-6eafa7fb23a623c959a568dcfa3293fcd53ea7c6.zip
Do not return a bool value from error().
error returned true if there was an error. This allows us to replace the code like this if (EC) { error(EC, "something failed"); return; } with if (error(EC, "something failed")) return; I thought that that was a good idea, but it turned out that we only have two places to use this pattern. So this patch removes that feature. llvm-svn: 263362
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/expression_command/call-function/TestCallUserDefinedFunction.py')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud