diff options
author | Thomas Preud'homme <thomasp@graphcore.ai> | 2019-07-24 12:38:29 +0000 |
---|---|---|
committer | Thomas Preud'homme <thomasp@graphcore.ai> | 2019-07-24 12:38:29 +0000 |
commit | a83dfd92bef4ffdc08765a20dffa1e29d194d618 (patch) | |
tree | 458ace86d427e89ab5aa11feb80ea3ca4b5fe331 /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.h | |
parent | 4cd9b853b5ae3f569683cdba955cd70c39a7bbe7 (diff) | |
download | bcm5719-llvm-a83dfd92bef4ffdc08765a20dffa1e29d194d618.tar.gz bcm5719-llvm-a83dfd92bef4ffdc08765a20dffa1e29d194d618.zip |
[FileCheck]] Canonicalize caret location testing
Summary:
Testing of caret location in diagnostic message is currently made with
CHECK directive with the following general format:
CHECK: {{^ \^$}}
James Henderson suggested the following would be more readable:
CHECK: {{^}} ^{{$}}
and when whole lines can be matched (as is the case for command-line
testing where error messages do not include path):
CHECK: ^
using the option --match-full-lines.
This commit implements these 2 changes on all existing caret position
tests. It also aligns the caret to the character it is trying to match
in the above line.
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/D64923
> llvm-svn: 366861
llvm-svn: 366898
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.h')
0 files changed, 0 insertions, 0 deletions