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:
parent
e2d809fa91
commit
bcbd62a57e
@ -278,3 +278,7 @@ StatementMacros:
|
|||||||
|
|
||||||
MacroBlockBegin: "^OSL_CLOSURE_STRUCT_BEGIN$"
|
MacroBlockBegin: "^OSL_CLOSURE_STRUCT_BEGIN$"
|
||||||
MacroBlockEnd: "^OSL_CLOSURE_STRUCT_END$"
|
MacroBlockEnd: "^OSL_CLOSURE_STRUCT_END$"
|
||||||
|
|
||||||
|
# Ensure single new line at the end of source files.
|
||||||
|
InsertNewlineAtEOF: True
|
||||||
|
KeepEmptyLinesAtEOF: False
|
||||||
|
Loading…
Reference in New Issue
Block a user