[clang] [clang-format] Add anonymous namespace indentation option (PR #244933)

Arnab Sarkar via cfe-commits cfe-commits at lists.llvm.org
Sat Nov 28 20:41:18 PST 2026


================
@@ -4061,7 +4061,17 @@ struct FormatStyle {
     ///      }
     ///    }
     /// \endcode
-    NI_All
+    NI_All,
+    /// Indent in named namespaces.
----------------
28arnab wrote:

This sounds more explicit

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


More information about the cfe-commits mailing list