Clang-Format: Ensure single new line at the end of files

This is similar to PR #118031, but addressed to 4.1 branch to
help mitigating style-specific conflicts.

Additionally, explicitly ensure single new line at the end of
the file.

Pull Request: https://projects.blender.org/blender/blender/pulls/118380
This commit is contained in:
Sergey Sharybin 2024-02-22 14:42:10 +01:00 committed by Sergey Sharybin
parent e2d809fa91
commit bcbd62a57e
1 changed files with 4 additions and 0 deletions

View File

@ -278,3 +278,7 @@ StatementMacros:
MacroBlockBegin: "^OSL_CLOSURE_STRUCT_BEGIN$"
MacroBlockEnd: "^OSL_CLOSURE_STRUCT_END$"
# Ensure single new line at the end of source files.
InsertNewlineAtEOF: True
KeepEmptyLinesAtEOF: False