[PATCH] D110252: Added note about Whatstyle and Unformat

2021-09-22 Thread Volker Weißmann via Phabricator via cfe-commits
Volker-Weissmann created this revision.
Volker-Weissmann added a reviewer: sdesmalen.
Volker-Weissmann requested review of this revision.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.

I added a note about Whatstyle  and Unformat 
 in the docs.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D110252

Files:
  clang/docs/ClangFormatStyleOptions.rst


Index: clang/docs/ClangFormatStyleOptions.rst
===
--- clang/docs/ClangFormatStyleOptions.rst
+++ clang/docs/ClangFormatStyleOptions.rst
@@ -88,6 +88,11 @@
 
   -style='{key1: value1, key2: value2, ...}'
 
+`Whatstyle `_ and `Unformat
+`_ can generate a .clang-format file
+from an existing codebase. Note that both of those tools are not officially
+supported and work on a best-effort basis.
+
 
 Disabling Formatting on a Piece of Code
 ===


Index: clang/docs/ClangFormatStyleOptions.rst
===
--- clang/docs/ClangFormatStyleOptions.rst
+++ clang/docs/ClangFormatStyleOptions.rst
@@ -88,6 +88,11 @@
 
   -style='{key1: value1, key2: value2, ...}'
 
+`Whatstyle `_ and `Unformat
+`_ can generate a .clang-format file
+from an existing codebase. Note that both of those tools are not officially
+supported and work on a best-effort basis.
+
 
 Disabling Formatting on a Piece of Code
 ===
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits


[PATCH] D110252: Added note about Whatstyle and Unformat

2021-09-25 Thread Volker Weißmann via Phabricator via cfe-commits
Volker-Weissmann added a comment.

In D110252#3018375 , @MyDeveloperDay 
wrote:

> Whatstyle has not been updated since Dec 2020, is it going to cover the 
> latest style configuration options?

No it doesn't. 
As I wrote, both work on a best-effort basis. I tried them myself, they are far 
from guaranteed to give you the correct .clang-format file. But it's better 
than nothing.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D110252

___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits


[PATCH] D110252: Added note about Whatstyle and Unformat

2021-10-06 Thread Volker Weißmann via Phabricator via cfe-commits
Volker-Weissmann added a comment.

I understand your concerns, it isn't meant as an endorsement. I took me quite a 
while too find them with google, so I thought I make it faster for the next one 
after me.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D110252

___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits