[PATCH] D68296: [clang-format] Add ability to wrap braces after multi-line control statements

MyDeveloperDay via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Oct 25 08:15:38 PDT 2019


MyDeveloperDay added inline comments.


================
Comment at: cfe/trunk/docs/ClangFormatStyleOptions.rst:812
+      Always wrap braces after a control statement.
+
+      .. code-block:: c++
----------------
This text cannot be generated by dump_format_style.py in clang/docs/tools from the Format.h

I think this is the first time we've seen an enum being used in a structure, as such dump_format_style doesn't support pulling the text in automatically.

The next person who runs dump_format_style could easily end up blowing away your documentation.




Repository:
  rL LLVM

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

https://reviews.llvm.org/D68296





More information about the llvm-commits mailing list