[clang] [clang-format] Add AllowShortType option for AlwaysBreakAfterReturnType. (PR #78011)

via cfe-commits cfe-commits at lists.llvm.org
Fri Jan 26 20:24:03 PST 2024


================
@@ -146,7 +146,7 @@ the configuration (without a prefix: ``Auto``).
 
 .. _BasedOnStyle:
 
-**BasedOnStyle** (``String``) :ref:`¶ <BasedOnStyle>`
+**BasedOnStyle** (``String``) :ref:`¶ <BasedOnStyle>`
----------------
rmarker wrote:

Yes it was generated on Windows.
My guess is the platform is causing it to default to the wrong encoding.
I had a look at the script and discovered that forcing the encoding to utf-8 when reading the contents stopped it inserting the spurious characters.

https://github.com/llvm/llvm-project/pull/78011


More information about the cfe-commits mailing list