Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove clang-tidy comments from vk_enum_string_helper.h #72

Merged
merged 1 commit into from
Aug 23, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions include/vulkan/vk_enum_string_helper.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
// Copyright 2023 LunarG, Inc.
//
// SPDX-License-Identifier: Apache-2.0
// NOLINTBEGIN

#pragma once
#ifdef __cplusplus
#include <string>
Expand Down Expand Up @@ -9120,4 +9120,4 @@ static inline std::string string_VkAccelerationStructureCreateFlagsKHR(VkAcceler
return ret;
}
#endif // __cplusplus
// NOLINTEND

4 changes: 0 additions & 4 deletions scripts/generators/enum_string_helper_generator.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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))