[llvm-commits] [llvm] r167521 - /llvm/trunk/docs/CommandGuide/FileCheck.rst
Eli Bendersky
eliben at google.com
Tue Nov 6 17:52:41 PST 2012
Author: eliben
Date: Tue Nov 6 19:52:41 2012
New Revision: 167521
URL: http://llvm.org/viewvc/llvm-project?rev=167521&view=rev
Log:
Fix a broken sentence
Modified:
llvm/trunk/docs/CommandGuide/FileCheck.rst
Modified: llvm/trunk/docs/CommandGuide/FileCheck.rst
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/docs/CommandGuide/FileCheck.rst?rev=167521&r1=167520&r2=167521&view=diff
==============================================================================
--- llvm/trunk/docs/CommandGuide/FileCheck.rst (original)
+++ llvm/trunk/docs/CommandGuide/FileCheck.rst Tue Nov 6 19:52:41 2012
@@ -276,8 +276,9 @@
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
More information about the llvm-commits
mailing list