[clang-format] Add InsertNewlineAtEOF to .clang-format files
authorOwen Pan <owenpiano@gmail.com>
Sat, 17 Jun 2023 22:28:49 +0000 (15:28 -0700)
committerOwen Pan <owenpiano@gmail.com>
Tue, 20 Jun 2023 15:30:09 +0000 (08:30 -0700)
Also, reformat all clang-format related files.

Differential Revision: https://reviews.llvm.org/D153208

clang/include/clang/Format/.clang-format
clang/lib/Format/.clang-format
clang/tools/clang-format/.clang-format
clang/unittests/Format/.clang-format
clang/unittests/Format/FormatTestMacroExpansion.cpp

index 60f4950..63d45e0 100644 (file)
@@ -1,4 +1,5 @@
 BasedOnStyle: LLVM
 InsertBraces: true
+InsertNewlineAtEOF: true
 LineEnding: LF
 RemoveBracesLLVM: true
index 60f4950..63d45e0 100644 (file)
@@ -1,4 +1,5 @@
 BasedOnStyle: LLVM
 InsertBraces: true
+InsertNewlineAtEOF: true
 LineEnding: LF
 RemoveBracesLLVM: true
index 60f4950..63d45e0 100644 (file)
@@ -1,4 +1,5 @@
 BasedOnStyle: LLVM
 InsertBraces: true
+InsertNewlineAtEOF: true
 LineEnding: LF
 RemoveBracesLLVM: true
index 60f4950..63d45e0 100644 (file)
@@ -1,4 +1,5 @@
 BasedOnStyle: LLVM
 InsertBraces: true
+InsertNewlineAtEOF: true
 LineEnding: LF
 RemoveBracesLLVM: true
index feafadb..1ac5ac0 100644 (file)
@@ -259,4 +259,4 @@ TEST_F(FormatTestMacroExpansion,
 } // namespace
 } // namespace test
 } // namespace format
-} // namespace clang
\ No newline at end of file
+} // namespace clang