[PATCH] D64226: [FileCheck] Factor some parsing checks out
Thomas Preud'homme via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Jul 4 16:51:01 PDT 2019
thopre created this revision.
thopre added reviewers: jhenderson, chandlerc, jdenny, probinson, grimar, arichardson, rnk.
thopre added a project: LLVM.
Both callers of parseNumericVariableDefinition() perform the same extra
check that no character is found after the variable name. This patch
factors out this check into parseNumericVariableDefinition().
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D64226
Files:
llvm/lib/Support/FileCheck.cpp
llvm/test/FileCheck/numeric-defines-diagnostics.txt
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D64226.208093.patch
Type: text/x-patch
Size: 4148 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190704/70c4e866/attachment.bin>
More information about the llvm-commits
mailing list