diff --git a/clang/include/clang/Format/.clang-format b/clang/include/clang/Format/.clang-format --- 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 --- 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 --- 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 --- 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 --- a/clang/unittests/Format/FormatTestMacroExpansion.cpp +++ b/clang/unittests/Format/FormatTestMacroExpansion.cpp @@ -259,4 +259,4 @@ } // namespace } // namespace test } // namespace format -} // namespace clang \ No newline at end of file +} // namespace clang