]> granicus.if.org Git - clang/commit
clang-format plugin: Add missing NL (new line) at EOF (end of file)
authorHans Wennborg <hans@hanshq.net>
Fri, 22 Sep 2017 21:47:39 +0000 (21:47 +0000)
committerHans Wennborg <hans@hanshq.net>
Fri, 22 Sep 2017 21:47:39 +0000 (21:47 +0000)
commitf87b529510cd26b9835cca8602a504985b773efb
tree1ff693426ac99460c2acf37826be185270ffaefb
parenta3394c6dfe197d84e74eae9cc8b77dc4356cff54
clang-format plugin: Add missing NL (new line) at EOF (end of file)

clang-format.exe removes trailing new lines at end of file.

However, if no NL is found at EOF one should be added.

Patch by Teodor MICU!

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

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@314033 91177308-0d34-0410-b5e6-96231b3b80d8
tools/clang-format-vs/ClangFormat/ClangFormatPackage.cs