[all-commits] [llvm/llvm-project] a81e04: [FileCheck] Make Match unittest more flexible
RoboTux via All-commits
all-commits at lists.llvm.org
Mon Jan 20 08:21:42 PST 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: a81e0442bdb1fafb9219b338176e00f4c9054377
https://github.com/llvm/llvm-project/commit/a81e0442bdb1fafb9219b338176e00f4c9054377
Author: Thomas Preud'homme <thomasp at graphcore.ai>
Date: 2020-01-20 (Mon, 20 Jan 2020)
Changed paths:
M llvm/unittests/Support/FileCheckTest.cpp
Log Message:
-----------
[FileCheck] Make Match unittest more flexible
Summary:
FileCheck's Match unittest needs updating whenever some call to
initNextPattern() is inserted before its final block of checks. This
commit change usage of LineNumber inside the Tester object so that the
line number of the current pattern can be queries, thereby making the
Match test more solid.
Reviewers: jhenderson, jdenny, probinson, grimar, arichardson, rnk
Reviewed By: jhenderson
Subscribers: llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D72913
More information about the All-commits
mailing list