Open shrek1402 opened 2 years ago
.clang-tidy:
CheckOptions: - key: readability-identifier-naming.ClassCase value: 'lower_case'
Before:
template<class Ty, bool = STD is_enum_v<Ty>> struct _enum_to_string { }; template<class Ty> struct _enum_to_string<Ty, false> { };
After:
template<class Ty, bool = STD is_enum_v<Ty>> struct enum_to_string { }; template<class Ty> struct _enum_to_string<Ty, false> { };
The symbol is missing _ in first specializing, but is present in second specializing.
_
@llvm/issue-subscribers-bug
@llvm/issue-subscribers-clang-tidy
readability-identifier-naming.StructCase it's broken too.
readability-identifier-naming.StructCase
Confirmed on main. Check does not detect issues from specialization.
.clang-tidy:
Before:
After:
The symbol is missing
_
in first specializing, but is present in second specializing.