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

Not all editors are configured by default to ensure new line at the
end of file.

To reduce noise and make code more uniform ensure the new lines are
ensured by the clang-format.

Pull Request: https://projects.blender.org/blender/blender/pulls/118031
This commit is contained in:
Sergey Sharybin
2024-02-09 14:32:07 +01:00
committed by Sergey Sharybin
parent 91e54fdd83
commit c6b6714555

View File

@@ -278,3 +278,6 @@ StatementMacros:
MacroBlockBegin: "^OSL_CLOSURE_STRUCT_BEGIN$" MacroBlockBegin: "^OSL_CLOSURE_STRUCT_BEGIN$"
MacroBlockEnd: "^OSL_CLOSURE_STRUCT_END$" MacroBlockEnd: "^OSL_CLOSURE_STRUCT_END$"
# Ensure lew line at the end of source files.
InsertNewlineAtEOF: True