From 81205aa75015b8f9c2292a71f47b0d2564e8f1ac Mon Sep 17 00:00:00 2001 From: Viet-Hoa Do Date: Thu, 2 Jan 2025 17:50:23 +0000 Subject: [PATCH] Enforce new line at the end by clang-format Signed-off-by: Viet-Hoa Do --- .clang-format | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.clang-format b/.clang-format index ad913784..116ba870 100644 --- a/.clang-format +++ b/.clang-format @@ -1,5 +1,5 @@ # -# SPDX-FileCopyrightText: Copyright 2024 Arm Limited and/or its affiliates +# SPDX-FileCopyrightText: Copyright 2024-2025 Arm Limited and/or its affiliates # # SPDX-License-Identifier: Apache-2.0 # @@ -15,4 +15,5 @@ AllowShortFunctionsOnASingleLine: None BreakConstructorInitializers: AfterColon DerivePointerAlignment: false IndentWidth: 4 +InsertNewlineAtEOF: true PointerAlignment: Left -- GitLab