[clang-tools-extra] [clang-tidy] Fix readability-identifier-naming FP with DefaultCase on function templates (PR #189788)
via cfe-commits
cfe-commits at lists.llvm.org
Tue Mar 31 22:06:55 PDT 2026
================
@@ -422,6 +422,11 @@ Changes in existing checks
now uses separate note diagnostics for each uninitialized enumerator, making
it easier to see which specific enumerators need explicit initialization.
+- Improved :doc:`readability-identifier-naming
+ <clang-tidy/checks/readability/identifier-naming>` check by fixing a false
+ positive where function templates could be diagnosed as generic identifiers
+ when ``DefaultCase`` was enabled.
----------------
EugeneZelenko wrote:
```suggestion
when `DefaultCase` was enabled.
```
https://github.com/llvm/llvm-project/pull/189788
More information about the cfe-commits
mailing list