================
@@ -5057,6 +5057,21 @@ struct FormatStyle {
/// \version 11
std::vector<std::string> WhitespaceSensitiveMacros;
+ /// Insert a newline at the begging and at the end of namespace definition
+ /// \code
+ /// false: vs. true:
+ ///
+ /// namespace a { namespace a {
+ /// namespace b { namespace b {
+ /// function();
+ /// } function();
+ /// }
+ /// }
+ /// }
+ /// \endcode
+ /// \version 19
+ bool WrapNamespaceBodyWithNewlines;
----------------
HazardyKnusperkeks wrote:
I'd propose: `Always`, `Never` and `Leave`.
https://github.com/llvm/llvm-project/pull/106145
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits