From 3bf76246ff6736e523f1de32b1d6a56e55bf34fb Mon Sep 17 00:00:00 2001 From: Ross Brunton Date: Tue, 21 Jan 2025 12:12:18 +0000 Subject: [PATCH] Ensure all files are clang formatted An off by one error resulted in exactly one file being skipped. --- cmake/helpers.cmake | 2 +- source/loader/layers/sanitizer/asan/asan_report.hpp | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/cmake/helpers.cmake b/cmake/helpers.cmake index b4df674bf9..bdd4a6d15c 100644 --- a/cmake/helpers.cmake +++ b/cmake/helpers.cmake @@ -30,7 +30,7 @@ function(add_cppformat name) else() # Split args into 2 parts (in Windows the list is probably too long) list(SUBLIST ARGN 0 250 selected_files_1) - list(SUBLIST ARGN 251 -1 selected_files_2) + list(SUBLIST ARGN 250 -1 selected_files_2) add_custom_target(cppformat-${name} COMMAND ${CLANG_FORMAT} --style=file --i ${selected_files_1} COMMAND ${CLANG_FORMAT} --style=file --i ${selected_files_2} diff --git a/source/loader/layers/sanitizer/asan/asan_report.hpp b/source/loader/layers/sanitizer/asan/asan_report.hpp index c92ef997af..0da9ed4e40 100644 --- a/source/loader/layers/sanitizer/asan/asan_report.hpp +++ b/source/loader/layers/sanitizer/asan/asan_report.hpp @@ -2,8 +2,9 @@ * * Copyright (C) 2024 Intel Corporation * - * Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. - * See LICENSE.TXT + * Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM + * Exceptions. See LICENSE.TXT + * * SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception * * @file asan_report.hpp