Issue 56464
Summary readability-identifier-naming doesn't ignore `auto` constructor parameters with deduction guides
Labels clang-tidy
Assignees
Reporter philnik777
    clang-tidy currently diagnoses
```
template<class>
struct subrange {
subrange(auto __iter);
};

template<class _Iter>
subrange(_Iter) -> subrange<_Iter>;
```
with
```
[warning: invalid case style for type template parameter '__iter:auto' [readability-identifier-naming]
subrange(auto __iter);
         ~~~~ ^~~~~~
         _AutoAutoO _AutoAutoO
```
This is the configuration:
```
{Checks: 'readability-identifier-naming',
 CheckOptions: {readability-identifier-naming.TypeTemplateParameterCase: CamelCase,
                readability-identifier-naming.TypeTemplateParameterPrefix: _}}
```
https://godbolt.org/z/KPfMcYae5
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to