[clang] [clang-format] Allow one indent level before explicit access labels (PR #227704)

Björn Schäpers via cfe-commits cfe-commits at lists.llvm.org
Wed Sep 30 12:57:14 PDT 2026


================
@@ -944,6 +944,10 @@ features cannot lower the translation-unit ABI level;
 
 ### clang-format
 
+- Add `IndentImplicitAccessModifiers` to allow members before the first
+  explicit access modifier to use one indentation level when
+  `IndentAccessModifiers` is enabled. The default preserves existing formatting.
+
----------------
HazardyKnusperkeks wrote:

Drop the empty line.

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


More information about the cfe-commits mailing list