[PATCH] D22403: FileCheck Enhancement - pattern templates.

Adrian Prantl via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 19 11:13:15 PDT 2016


aprantl added inline comments.

================
Comment at: docs/CommandGuide/FileCheck.rst:494
@@ +493,3 @@
+
+    // CHECK-PATTERN hex_num: {{0x[0-9a-fA-F]+}}
+
----------------
The CHECK-PATTERN directive is only mentioned in examples but never defined properly.

================
Comment at: docs/CommandGuide/FileCheck.rst:542
@@ +541,2 @@
+\:(Variable_name) - template variable with name 'variable_name'
+\=(value) - current value of template variable(it's needed when you use template with variables).
----------------
The new syntax should be introduced before the examples. This makes it easier to look up the syntax when you use the document as a reference.



https://reviews.llvm.org/D22403





More information about the llvm-commits mailing list