[all-commits] [llvm/llvm-project] 948d69: [FormatVariadic] Mark index as required in docstring

Dave Lee via All-commits all-commits at lists.llvm.org
Wed Feb 23 15:33:55 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 948d69fd574fbbbc311d06c5c4481408ef4e384d
      https://github.com/llvm/llvm-project/commit/948d69fd574fbbbc311d06c5c4481408ef4e384d
  Author: Dave Lee <davelee.com at gmail.com>
  Date:   2022-02-23 (Wed, 23 Feb 2022)

  Changed paths:
    M llvm/include/llvm/Support/FormatVariadic.h

  Log Message:
  -----------
  [FormatVariadic] Mark index as required in docstring

After looking at the formatv docstring, I thought the index was optional (as it
is in other languages). This changes the header docs to show `index` instead of
`[index]`, to indicate that it is required.

Differential Revision: https://reviews.llvm.org/D118833




More information about the All-commits mailing list