[clang] [clang-format] Allow custom pointer/ref alignment in return types (PR #169160)
via cfe-commits
cfe-commits at lists.llvm.org
Mon Nov 24 23:20:25 PST 2025
================
@@ -5824,34 +5900,111 @@ the configuration (without a prefix: ``Auto``).
.. _ReferenceAlignment:
-**ReferenceAlignment** (``ReferenceAlignmentStyle``) :versionbadge:`clang-format 13` :ref:`¶ <ReferenceAlignment>`
+**ReferenceAlignment** (``ReferenceAlignmentOptions``) :versionbadge:`clang-format 13` :ref:`¶ <ReferenceAlignment>`
Reference alignment style (overrides ``PointerAlignment`` for references).
- Possible values:
+ Acceptable values (configured as a single string or with suboptions):
+ * ``Pointer``
+ * ``Left``
+ * ``Right``
+ * ``Middle``
----------------
mydeveloperday wrote:
Ditto comment above
https://github.com/llvm/llvm-project/pull/169160
More information about the cfe-commits
mailing list