druidengine/druid
在 GitHub 查看Update clang-tidy to enforce naming style on global functions.
Open
#42 创建于 2025年10月15日
enhancementgood first issue
仓库指标
- Star
- (3 star)
- PR 合并指标
- (PR 指标待抓取)
描述
Is your feature request related to a problem? Please describe.
After some consideration, I've decided our global functions should follow the lower_case naming convention as well.
Describe the solution you'd like
- Update the .clang-tidy file to enfore
lower_casenaming style for global / static functions. - Run a clang-debug build (
x64-linux-clang-debug), (arm64-osx-clang-debug), etc... and verify it compiles andclang-tidyjob passes.
Describe alternatives you've considered
I considered keeping the global functions CamelCase but I want to adhere to CppCoreGuidelines as much as possible. CamelCase will be reserved for types.
Additional context