[PATCH] D110432: [clang-format][docs] mark new clang-format configuration options based on which version they would GA

MyDeveloperDay via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Sep 27 02:36:46 PDT 2021


MyDeveloperDay updated this revision to Diff 375177.
MyDeveloperDay marked 2 inline comments as done.
MyDeveloperDay added a comment.

Mark all options with their version, 
Move the \version into the comment
Warning if we add new options without a version

I think this is a fairly good representation (there could be a couple that are incorrectly labelled as a later version (if they have been modified), I had to kind of pull the "commit" from git blame then use the sha to determine the first branch. (with git name-rev <commit>), Its more likely to have said it was added in a later release, (especially if the type of the option had changed), but perhaps lets start here and if we see a few that are incorrectly labelled we can work out way back on those, but it was hard to do this for the 130+ options


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

https://reviews.llvm.org/D110432

Files:
  clang/docs/ClangFormatStyleOptions.rst
  clang/docs/tools/dump_format_style.py
  clang/include/clang/Format/Format.h
  clang/include/clang/Tooling/Inclusions/IncludeStyle.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D110432.375177.patch
Type: text/x-patch
Size: 76111 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20210927/5a1dc592/attachment-0001.bin>


More information about the cfe-commits mailing list