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>
This commit is contained in:
parent
8cca11ac54
commit
3513f22027
@ -30,3 +30,4 @@ SortIncludes: false
|
|||||||
AllowAllParametersOfDeclarationOnNextLine: false
|
AllowAllParametersOfDeclarationOnNextLine: false
|
||||||
BinPackParameters: false
|
BinPackParameters: false
|
||||||
AlignAfterOpenBracket: Align
|
AlignAfterOpenBracket: Align
|
||||||
|
InsertNewlineAtEOF: true
|
||||||
|
Loading…
x
Reference in New Issue
Block a user