aboutsummaryrefslogtreecommitdiff
path: root/llvm/unittests/Support/CommandLineTest.cpp
diff options
context:
space:
mode:
authorThomas Preud'homme <thomasp@graphcore.ai>2019-04-15 10:10:11 +0000
committerThomas Preud'homme <thomasp@graphcore.ai>2019-04-15 10:10:11 +0000
commite038fa7292cd837beda76acb8a1d241b3095cbec (patch)
treee55889132a6a70d8cefa2c78e424d1da67bbe280 /llvm/unittests/Support/CommandLineTest.cpp
parent301ed1cb49abe9dda2cbc35281821e268e6d070d (diff)
downloadllvm-e038fa7292cd837beda76acb8a1d241b3095cbec.zip
llvm-e038fa7292cd837beda76acb8a1d241b3095cbec.tar.gz
llvm-e038fa7292cd837beda76acb8a1d241b3095cbec.tar.bz2
FileCheck [1/12]: Move variable table in new object
Summary: This patch is part of a patch series to add support for FileCheck numeric expressions. This specific patch adds a new class to hold pattern matching global state. The table holding the values of FileCheck variable constitutes some sort of global state for the matching phase, yet is passed as parameters of all functions using it. This commit create a new FileCheckPatternContext class pointed at from FileCheckPattern. While it increases the line count, it separates local data from global state. Later commits build on that to add numeric expression global state to that class. Copyright: - Linaro (changes up to diff 183612 of revision D55940) - GraphCore (changes in later versions of revision D55940 and in new revision created off D55940) 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/D60381 llvm-svn: 358390
Diffstat (limited to 'llvm/unittests/Support/CommandLineTest.cpp')
0 files changed, 0 insertions, 0 deletions