Issue 109385
Summary readability-identifier-naming NamespaceAliasCase feature request
Labels
Assignees
Reporter Fiero99
    **Feature request:**

check identifier naming on alias namespaces

**Example:**

`namespace NamespaceAlias = some_namespace; // Warning NamespaceAlias  should be namespace_alias`

**What I already tried:**

With `.clang-tidy`
```
  - key: readability-identifier-naming.NamespaceCase 
    value: lower_case
```
The following alias namespace is not checked.
```
namespace some_namespace {}
namespace NamespaceAlias = some_namespace;
```
I would expect the alias namespace to be in the same format as other namespaces. (Or to be able to configure it using something like NamespaceAliasCase.
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to