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:

committed by
Sergey Sharybin

parent
91e54fdd83
commit
c6b6714555
@@ -278,3 +278,6 @@ StatementMacros:
|
||||
|
||||
MacroBlockBegin: "^OSL_CLOSURE_STRUCT_BEGIN$"
|
||||
MacroBlockEnd: "^OSL_CLOSURE_STRUCT_END$"
|
||||
|
||||
# Ensure lew line at the end of source files.
|
||||
InsertNewlineAtEOF: True
|
||||
|
Reference in New Issue
Block a user