From bcb44d2f7638a1f8b1f3724d8751875396d78a55 Mon Sep 17 00:00:00 2001 From: Juan Ramos Date: Wed, 23 Aug 2023 12:26:20 -0600 Subject: [PATCH] Remove clang-tidy comments from vk_enum_string_helper.h Not needed. They only made sense in the context of VVL. --- include/vulkan/vk_enum_string_helper.h | 4 ++-- scripts/generators/enum_string_helper_generator.py | 4 ---- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/include/vulkan/vk_enum_string_helper.h b/include/vulkan/vk_enum_string_helper.h index b07f05e..a5039bb 100644 --- a/include/vulkan/vk_enum_string_helper.h +++ b/include/vulkan/vk_enum_string_helper.h @@ -5,7 +5,7 @@ // Copyright 2023 LunarG, Inc. // // SPDX-License-Identifier: Apache-2.0 -// NOLINTBEGIN + #pragma once #ifdef __cplusplus #include @@ -9120,4 +9120,4 @@ static inline std::string string_VkAccelerationStructureCreateFlagsKHR(VkAcceler return ret; } #endif // __cplusplus -// NOLINTEND + diff --git a/scripts/generators/enum_string_helper_generator.py b/scripts/generators/enum_string_helper_generator.py index 45de998..ac24ecf 100644 --- a/scripts/generators/enum_string_helper_generator.py +++ b/scripts/generators/enum_string_helper_generator.py @@ -23,8 +23,6 @@ def generate(self): // // SPDX-License-Identifier: Apache-2.0 ''') - out.append('// NOLINTBEGIN') # Wrap for clang-tidy to ignore - out.append(''' #pragma once #ifdef __cplusplus @@ -107,6 +105,4 @@ def generate(self): }}\n''') out.extend([f'#endif //{bitmask.protect}\n'] if bitmask.protect else []) out.append('#endif // __cplusplus\n') - - out.append('// NOLINTEND') # Wrap for clang-tidy to ignore self.write("".join(out))