diff options
author | Thomas Preud'homme <thomasp@graphcore.ai> | 2019-07-10 12:49:17 +0000 |
---|---|---|
committer | Thomas Preud'homme <thomasp@graphcore.ai> | 2019-07-10 12:49:17 +0000 |
commit | f6ea43b8b302acfae974065f0aa16e7432db099e (patch) | |
tree | c23cd8c3b286b008ac6428d0315c86051543c475 /lldb/packages/Python/lldbsuite/test/python_api/interpreter | |
parent | 775b2f598a99883a5dc1218ba4c7e77af2e3c26a (diff) | |
download | bcm5719-llvm-f6ea43b8b302acfae974065f0aa16e7432db099e.tar.gz bcm5719-llvm-f6ea43b8b302acfae974065f0aa16e7432db099e.zip |
[FileCheck] Fix @LINE value after match failure
Summary:
The value of the FileCheckNumericVariable class instance representing
the @LINE numeric variable is set and cleared respectively before and
after substitutions are made, if any. However, when a substitution
fails, the value is not cleared. This causes the next substitution of
@LINE later on to give the wrong value since setValue is a nop if the
value is already set. This is what caused failures after commit r365249.
Reviewers: jhenderson, chandlerc, jdenny, probinson, grimar, arichardson, rnk
Subscribers: hiraditya, llvm-commits, probinson, dblaikie, grimar, arichardson, tra, rnk, kristina, hfinkel, rogfer01, JonChesterfield
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D64449
llvm-svn: 365624
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/interpreter')
0 files changed, 0 insertions, 0 deletions