[PATCH] D60383: FileCheck [3/12]: Stricter parsing of @LINE expressions
Thomas Preud'homme via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sun Apr 7 16:22:39 PDT 2019
thopre created this revision.
thopre added reviewers: jhenderson, chandlerc, jdenny, probinson, grimar, arichardson, rnk.
Herald added a subscriber: hiraditya.
Herald added a project: LLVM.
thopre added a parent revision: D60382: FileCheck [2/12]: Stricter parsing of -D option.
thopre added a child revision: D60384: FileCheck [4/12]: Introduce @LINE numeric expressions.
This patch is part of a patch series to add support for FileCheck
numeric expressions. This specific patch gives earlier and better
diagnostics for the @LINE expressions.
Rather than detect parsing errors at matching time, this commit adds
enhance parsing to detect issues with @LINE expressions at parse time
and diagnose them more accurately.
Copyright:
- Linaro (changes up to diff 183612 of revision D55940 <https://reviews.llvm.org/D55940>)
- GraphCore (changes in later versions of revision D55940 <https://reviews.llvm.org/D55940> and in new revision created off D55940 <https://reviews.llvm.org/D55940>)
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D60383
Files:
llvm/include/llvm/Support/FileCheck.h
llvm/lib/Support/FileCheck.cpp
llvm/test/FileCheck/defines.txt
llvm/test/FileCheck/line-count.txt
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D60383.194078.patch
Type: text/x-patch
Size: 10863 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190407/8b2697c1/attachment.bin>
More information about the llvm-commits
mailing list