[clang] [clang-format] Add options to set number of empty lines after includes (PR #78957)

Björn Schäpers via cfe-commits cfe-commits at lists.llvm.org
Tue Jan 23 12:59:30 PST 2024


================
@@ -0,0 +1,159 @@
+//===--- IncludesSeparator.cpp ---------------------------*- C++ -*-===//
----------------
HazardyKnusperkeks wrote:

Maybe you could work something out with the line type?
https://github.com/llvm/llvm-project/blob/4fcd7cf22deff4a63d2bac12c909be7266f8b353/clang/lib/Format/TokenAnnotator.h#L24

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


More information about the cfe-commits mailing list