[llvm-commits] [llvm] r82892 - /llvm/trunk/docs/TestingGuide.html
Chris Lattner
sabre at nondot.org
Sun Sep 27 01:01:44 PDT 2009
Author: lattner
Date: Sun Sep 27 03:01:44 2009
New Revision: 82892
URL: http://llvm.org/viewvc/llvm-project?rev=82892&view=rev
Log:
rename REG -> REGISTER to make it explicit in the doc. <tt>ify some stuff.
Modified:
llvm/trunk/docs/TestingGuide.html
Modified: llvm/trunk/docs/TestingGuide.html
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/docs/TestingGuide.html?rev=82892&r1=82891&r2=82892&view=diff
==============================================================================
--- llvm/trunk/docs/TestingGuide.html (original)
+++ llvm/trunk/docs/TestingGuide.html Sun Sep 27 03:01:44 2009
@@ -671,17 +671,17 @@
<div class="doc_code">
<pre>
; CHECK: test5:
-; CHECK: notw <b>[[REG:%[a-z]+]]</b>
-; CHECK: andw {{.*}}<b>[[REG]]</b>
+; CHECK: notw <b>[[REGISTER:%[a-z]+]]</b>
+; CHECK: andw {{.*}}<b>[[REGISTER]]</b>
</pre>
</div>
-<p>The first check line matches a regex (%[a-z]+) and captures it into the
-variables "REG". The second line verifies that whatever is in REG occurs later
-in the file after an "andw". FileCheck variable references are always contained
-in [[ ]] pairs, are named, 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, if not, it is a use.</p>
+<p>The first check line matches a regex (<tt>%[a-z]+</tt>) and captures it into
+the variables "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 <tt>[[ ]]</tt> pairs, are named, and their names can be
+formed with the regex "<tt>[a-zA-Z][a-zA-Z0-9]*</tt>". If a colon follows the
+name, then it is a definition of the variable, if not, it is a use.</p>
<p>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