Make clang-format insert a newline at end of file if missing (#1023)
clang generates warning if there is no newline at the end of the source file. Update .clang-format to handle the missing newline at eof. Signed-off-by: haoqixu <hq.xu0o0@gmail.com> Signed-off-by: Ping Xie <pingxie@google.com>
This commit is contained in:
parent
420da15c0c
commit
7c3f9379bd
@ -30,3 +30,4 @@ SortIncludes: false
|
||||
AllowAllParametersOfDeclarationOnNextLine: false
|
||||
BinPackParameters: false
|
||||
AlignAfterOpenBracket: Align
|
||||
InsertNewlineAtEOF: true
|
||||
|
Loading…
x
Reference in New Issue
Block a user