summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/python_api/frame/TestFrames.py
diff options
context:
space:
mode:
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>2016-02-03 19:30:20 +0000
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>2016-02-03 19:30:20 +0000
commitf42ef3efcad9095920232a0a710a80c5c4720170 (patch)
treed5f41002a9b443e9771eda155ecc4ea97082eb6a /lldb/packages/Python/lldbsuite/test/python_api/frame/TestFrames.py
parent0fc3a001682c0bd076a329024192e57b3bc950fd (diff)
downloadbcm5719-llvm-f42ef3efcad9095920232a0a710a80c5c4720170.tar.gz
bcm5719-llvm-f42ef3efcad9095920232a0a710a80c5c4720170.zip
re.results.form: Format out-of-range subexpression references as null
Rather than crashing in match_results::format() when a reference to a marked subexpression is out of range, format the subexpression as empty (i.e., replace it with an empty string). Note that match_results::operator[]() has a range-check and returns a null match in this case, so this just re-uses that logic. llvm-svn: 259682
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/frame/TestFrames.py')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud