diff --git a/llvm/include/llvm/Support/FormatVariadic.h b/llvm/include/llvm/Support/FormatVariadic.h --- a/llvm/include/llvm/Support/FormatVariadic.h +++ b/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 ::= // layout ::= [[[char]loc]width] // format ::=