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

via cfe-commits cfe-commits at lists.llvm.org
Mon Jan 22 02:52:21 PST 2024


github-actions[bot] wrote:

<!--LLVM CODE FORMAT COMMENT: {clang-format}-->


:warning: C/C++ code formatter, clang-format found issues in your code. :warning:

<details>
<summary>
You can test this locally with the following command:
</summary>

``````````bash
git-clang-format --diff cc38cff05cfafb92bf91aadc39692ec5e12710a0 351995614fb6155bcb621860f18d97f727ece101 -- clang/lib/Format/IncludesSeparator.cpp clang/lib/Format/IncludesSeparator.h clang/include/clang/Format/Format.h clang/lib/Format/Format.cpp clang/lib/Format/TokenAnnotator.h clang/unittests/Format/ConfigParseTest.cpp clang/unittests/Format/FormatTest.cpp
``````````

</details>

<details>
<summary>
View the diff from clang-format here.
</summary>

``````````diff
diff --git a/clang/lib/Format/IncludesSeparator.cpp b/clang/lib/Format/IncludesSeparator.cpp
index 7aad7b9d36..0e74383c7c 100644
--- a/clang/lib/Format/IncludesSeparator.cpp
+++ b/clang/lib/Format/IncludesSeparator.cpp
@@ -157,4 +157,3 @@ void IncludesSeparator::separateIncludes(
 }
 } // namespace format
 } // namespace clang
-                    
\ No newline at end of file

``````````

</details>


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


More information about the cfe-commits mailing list