diff options
author | Eli Bendersky <eliben@google.com> | 2012-11-07 01:52:41 +0000 |
---|---|---|
committer | Eli Bendersky <eliben@google.com> | 2012-11-07 01:52:41 +0000 |
commit | 796f2b02f775971f6c98686b8e9d300a0de62148 (patch) | |
tree | 4c4c619689b276228604336aeb02e7f7c782745a /docs/CommandGuide | |
parent | c78bb707a5e47a99c51ae505bdbfc45db8e459d9 (diff) | |
download | external_llvm-796f2b02f775971f6c98686b8e9d300a0de62148.zip external_llvm-796f2b02f775971f6c98686b8e9d300a0de62148.tar.gz external_llvm-796f2b02f775971f6c98686b8e9d300a0de62148.tar.bz2 |
Fix a broken sentence
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@167521 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'docs/CommandGuide')
-rw-r--r-- | docs/CommandGuide/FileCheck.rst | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/docs/CommandGuide/FileCheck.rst b/docs/CommandGuide/FileCheck.rst index 6fdc175..1d7a462 100644 --- a/docs/CommandGuide/FileCheck.rst +++ b/docs/CommandGuide/FileCheck.rst @@ -276,8 +276,9 @@ simple example: The first check line matches a regex (**%[a-z]+**) and captures it into the variable "REGISTER". The second line verifies that whatever is in REGISTER occurs later in the file after an "andw". FileCheck variable references are -always contained in **[[ ]]** pairs, are named, and their names can be -name, then it is a definition of the variable, if not, it is a use. +always contained in **[[ ]]** pairs, and their names can be formed with the +regex **[a-zA-Z][a-zA-Z0-9]***. If a colon follows the name, then it is a +definition of the variable; otherwise, it is a use. FileCheck variables can be defined multiple times, and uses always get the latest value. Note that variables are all read at the start of a "CHECK" line |