[PATCH] D87329: Insert missing bracket in docs.

Nate Voorhies via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 8 14:19:34 PDT 2020


ncv created this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
ncv requested review of this revision.

Body of unrolled loop was missing opening bracket.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D87329

Files:
  llvm/docs/TransformMetadata.rst


Index: llvm/docs/TransformMetadata.rst
===================================================================
--- llvm/docs/TransformMetadata.rst
+++ llvm/docs/TransformMetadata.rst
@@ -196,7 +196,7 @@
 .. code-block:: c
 
     int i = 0;
-    for (; i + 3 < n; i+=4) // unrolled loop
+    for (; i + 3 < n; i+=4) { // unrolled loop
       Stmt(i);
       Stmt(i+1);
       Stmt(i+2);


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D87329.290584.patch
Type: text/x-patch
Size: 382 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200908/59291ed4/attachment.bin>


More information about the llvm-commits mailing list