llvm / llvm-project

The LLVM Project is a collection of modular and reusable compiler and toolchain technologies.
http://llvm.org
Other
28.24k stars 11.66k forks source link

[clang-tidy] `readability-identifier-naming` check option for all "type" types #62824

Open NekkoDroid opened 1 year ago

NekkoDroid commented 1 year ago

Currently when specifying the options for readability-identifier-naming for it to check all types to follow a certain style you need to specify {Class,Struct,Union,Enum,TypeAlias,Typedef}Case (and possibly the other options: Prefix, Suffix, ...). (Struct and Class do fall back to the other if not specified, so technically only one of them is needed there)

It would be nice to have a single readability-identifier-naming.TypeCase to which these would fall back to if not specified otherwise.

llvmbot commented 1 year ago

@llvm/issue-subscribers-clang-tidy