================
@@ -2459,6 +2459,52 @@ struct FormatStyle {
/// \version 12
EmptyLineBeforeAccessModifierStyle EmptyLineBeforeAccessModifier;
+ /// \brief Number of lines after includes.
+ /// If set, determines the number of lines to insert after includes.
+ /// Limited by MaxEmptyLinesToKeep.
+ /// Example:
+ /// EmptyLinesAfterIncludes = 1
+ /// \code
+ /// #include <string>
+ /// #include <map>
+ ///
+ /// class Test {};
+ ///
+ /// \endcode
+ /// vs EmptyLinesAfterIncludes = 2
+ /// \code
+ /// #include <string>
+ /// #include <map>
+ ///
+ ///
+ /// class Test {};
+ /// \endcode
+ /// \version 1
----------------
seranu wrote:
Somehow thought this was the version of the option.
https://github.com/llvm/llvm-project/pull/77918
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits