[PATCH] D118833: [FormatVariadic] Mark index as required in docstring (NFC)

Dave Lee via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 23 15:34:02 PST 2022


This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rG948d69fd574f: [FormatVariadic] Mark index as required in docstring (authored by kastiglione).

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D118833/new/

https://reviews.llvm.org/D118833

Files:
  llvm/include/llvm/Support/FormatVariadic.h


Index: llvm/include/llvm/Support/FormatVariadic.h
===================================================================
--- llvm/include/llvm/Support/FormatVariadic.h
+++ llvm/include/llvm/Support/FormatVariadic.h
@@ -172,7 +172,7 @@
 // Formats textual output.  `Fmt` is a string consisting of one or more
 // replacement sequences with the following grammar:
 //
-// rep_field ::= "{" [index] ["," layout] [":" format] "}"
+// rep_field ::= "{" index ["," layout] [":" format] "}"
 // index     ::= <non-negative integer>
 // layout    ::= [[[char]loc]width]
 // format    ::= <any string not containing "{" or "}">


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D118833.410959.patch
Type: text/x-patch
Size: 616 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220223/4621539a/attachment.bin>


More information about the llvm-commits mailing list