From: Eli Bendersky Date: Wed, 7 Nov 2012 01:52:41 +0000 (+0000) Subject: Fix a broken sentence X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=659d206678a515e4a1547271255154a238b4afd6;p=platform%2Fupstream%2Fllvm.git Fix a broken sentence llvm-svn: 167521 --- diff --git a/llvm/docs/CommandGuide/FileCheck.rst b/llvm/docs/CommandGuide/FileCheck.rst index 6fdc175..1d7a462 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