aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineFunction.cpp
diff options
context:
space:
mode:
authorArtem Belevich <tra@google.com>2017-03-09 17:59:04 +0000
committerArtem Belevich <tra@google.com>2017-03-09 17:59:04 +0000
commitf55e72a5a0a2473c2851c2b2c172d2ed53d15b1c (patch)
tree6f85dc5d420bcc6e186fd9ca4c583a43c081eb19 /llvm/lib/CodeGen/MachineFunction.cpp
parenta9520b94d56ba857284a3de9ba717116f884bb26 (diff)
downloadllvm-f55e72a5a0a2473c2851c2b2c172d2ed53d15b1c.zip
llvm-f55e72a5a0a2473c2851c2b2c172d2ed53d15b1c.tar.gz
llvm-f55e72a5a0a2473c2851c2b2c172d2ed53d15b1c.tar.bz2
[FileCheck] Added --enable-var-scope option to enable scope for regex variables.
If `--enable-var-scope` is in effect, variables with names that start with `$` are considered to be global. All other variables are local. All local variables get undefined at the beginning of each CHECK-LABEL block. Global variables are not affected by CHECK-LABEL. This makes it easier to ensure that individual tests are not affected by variables set in preceding tests. Differential Revision: https://reviews.llvm.org/D30749 llvm-svn: 297396
Diffstat (limited to 'llvm/lib/CodeGen/MachineFunction.cpp')
0 files changed, 0 insertions, 0 deletions