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 | 659d206678a515e4a1547271255154a238b4afd6 (patch) | |
tree | 11dea1f44509a21aa450117b066cdd51061ff9bc /llvm/docs/CommandGuide | |
parent | d073fe4e5b79557d4e8662db1a7d9465dc19fdb3 (diff) | |
download | bcm5719-llvm-659d206678a515e4a1547271255154a238b4afd6.tar.gz bcm5719-llvm-659d206678a515e4a1547271255154a238b4afd6.zip |
Fix a broken sentence
llvm-svn: 167521
Diffstat (limited to 'llvm/docs/CommandGuide')
-rw-r--r-- | llvm/docs/CommandGuide/FileCheck.rst | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/llvm/docs/CommandGuide/FileCheck.rst b/llvm/docs/CommandGuide/FileCheck.rst index 6fdc175c864..1d7a462bd71 100644 --- a/llvm/docs/CommandGuide/FileCheck.rst +++ b/llvm/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 |