[clang] [clang-format] Separate License text and include blocks (PR #77918)

via cfe-commits cfe-commits at lists.llvm.org
Mon Jan 15 06:07:02 PST 2024


================
@@ -3853,46 +3853,51 @@ struct FormatStyle {
     /// Leave definition blocks as they are.
     SDS_Leave,
     /// Insert an empty line between definition blocks.
-    SDS_Always,
+    SDS_One,
----------------
mydeveloperday wrote:

1) You cannot change Format.h without regenerating the Clang-Format-StyleOptions.rts
2) I don't like SDS_One and SDS_Two they are very undescriptive for us in the code when we see it, it forces me to go look what it means
3) I don't want to lose SDS_Always most of your code changes are a rename from One->Always

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


More information about the cfe-commits mailing list