[clang] [clang-format] Add option AllowShortRecordOnASingleLine (PR #154580)
via cfe-commits
cfe-commits at lists.llvm.org
Sun Aug 24 15:02:17 PDT 2025
=?utf-8?q?Tom=C3=A1=C5=A1?= Slanina <itzexpoexpo at gmail.com>,
=?utf-8?q?Tom=C3=A1=C5=A1?= Slanina <itzexpoexpo at gmail.com>,
=?utf-8?q?Tom=C3=A1=C5=A1?= Slanina <itzexpoexpo at gmail.com>,
=?utf-8?q?Tom=C3=A1=C5=A1?= Slanina <itzexpoexpo at gmail.com>
Message-ID:
In-Reply-To: <llvm.org/llvm/llvm-project/pull/154580 at github.com>
================
@@ -992,6 +992,32 @@ struct FormatStyle {
/// \version 20
bool AllowShortNamespacesOnASingleLine;
+ /// Different styles for merging short records
+ /// (``class``,``struct``,``union``).
----------------
owenca wrote:
```suggestion
/// Different styles for merging short records (``class``, ``struct``, and
/// ``union``).
```
https://github.com/llvm/llvm-project/pull/154580
More information about the cfe-commits
mailing list