Skip to content

Commit

Permalink
Remove clang-tidy comments from vk_enum_string_helper.h
Browse files Browse the repository at this point in the history
Not needed. They only made sense in the context of VVL.
  • Loading branch information
juan-lunarg committed Aug 23, 2023
1 parent 2396306 commit 8ea7803
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
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))

0 comments on commit 8ea7803

Please sign in to comment.