From c6b6714555a7158ba2d8f01360e122cd2a11504d Mon Sep 17 00:00:00 2001 From: Sergey Sharybin Date: Fri, 9 Feb 2024 14:32:07 +0100 Subject: [PATCH] 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 --- .clang-format | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.clang-format b/.clang-format index 17196f7ddab..3aef3bdeacf 100644 --- a/.clang-format +++ b/.clang-format @@ -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