[clang] [clang-format] Allow custom pointer/ref alignment in return types (PR #169160)
via cfe-commits
cfe-commits at lists.llvm.org
Wed Nov 26 04:33:30 PST 2025
================
@@ -5668,31 +5668,107 @@ the configuration (without a prefix: ``Auto``).
.. _PointerAlignment:
-**PointerAlignment** (``PointerAlignmentStyle``) :versionbadge:`clang-format 3.7` :ref:`¶ <PointerAlignment>`
+**PointerAlignment** (``PointerAlignmentOptions``) :versionbadge:`clang-format 3.7` :ref:`¶ <PointerAlignment>`
Pointer and reference alignment style.
- Possible values:
+ Acceptable values (configured as a single string or with suboptions):
+ * ``Left``
+ * ``Right``
+ * ``Middle``
----------------
mydeveloperday wrote:
I don't feel like the "Default" pattern is followed elsewhere, but the Custom pattern is
https://github.com/llvm/llvm-project/pull/169160
More information about the cfe-commits
mailing list