diff --git a/clang/include/clang/Format/.clang-format b/clang/include/clang/Format/.clang-format index 60f4950c01a5..63d45e0307a3 100644 --- a/clang/include/clang/Format/.clang-format +++ b/clang/include/clang/Format/.clang-format @@ -1,4 +1,5 @@ BasedOnStyle: LLVM InsertBraces: true +InsertNewlineAtEOF: true LineEnding: LF RemoveBracesLLVM: true diff --git a/clang/lib/Format/.clang-format b/clang/lib/Format/.clang-format index 60f4950c01a5..63d45e0307a3 100644 --- a/clang/lib/Format/.clang-format +++ b/clang/lib/Format/.clang-format @@ -1,4 +1,5 @@ BasedOnStyle: LLVM InsertBraces: true +InsertNewlineAtEOF: true LineEnding: LF RemoveBracesLLVM: true diff --git a/clang/tools/clang-format/.clang-format b/clang/tools/clang-format/.clang-format index 60f4950c01a5..63d45e0307a3 100644 --- a/clang/tools/clang-format/.clang-format +++ b/clang/tools/clang-format/.clang-format @@ -1,4 +1,5 @@ BasedOnStyle: LLVM InsertBraces: true +InsertNewlineAtEOF: true LineEnding: LF RemoveBracesLLVM: true diff --git a/clang/unittests/Format/.clang-format b/clang/unittests/Format/.clang-format index 60f4950c01a5..63d45e0307a3 100644 --- a/clang/unittests/Format/.clang-format +++ b/clang/unittests/Format/.clang-format @@ -1,4 +1,5 @@ BasedOnStyle: LLVM InsertBraces: true +InsertNewlineAtEOF: true LineEnding: LF RemoveBracesLLVM: true diff --git a/clang/unittests/Format/FormatTestMacroExpansion.cpp b/clang/unittests/Format/FormatTestMacroExpansion.cpp index feafadb1593e..1ac5ac0d84f1 100644 --- a/clang/unittests/Format/FormatTestMacroExpansion.cpp +++ b/clang/unittests/Format/FormatTestMacroExpansion.cpp @@ -259,4 +259,4 @@ TEST_F(FormatTestMacroExpansion, } // namespace } // namespace test } // namespace format -} // namespace clang \ No newline at end of file +} // namespace clang