HomePhabricator

[clang-format] NFC Correct clang-format headers file so documentation can be…

Authored by MyDeveloperDay on Apr 30 2020, 2:47 AM.

Description

[clang-format] NFC Correct clang-format headers file so documentation can be once again autogenerated

Summary:
ClangFormatStyleOptions.rst should ALWAYS be autogenerated from Format.h using clang/docs/tools/dump_format_style.py if not its liable to get removed leaving options undocumented.

This revision reworks the documentation for D73354: clang-format: insert trailing commas into containers. D73768: clang-format: [JS] document InsertTrailingCommas. to ensure we can continue to regenerated

Fix other minor changes that ensure the documentation remains consistent (Format.h obviously got re clang-formatted after the rst had been regenerated previously)

Reviewed By: krasimir

Subscribers: cfe-commits

Tags: #clang, #clang-format

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