[clang-tools-extra] [clang-tidy] Fix readability-identifier-naming FP with DefaultCase on function templates (PR #189788)

Zeyi Xu via cfe-commits cfe-commits at lists.llvm.org
Wed Apr 1 00:01:02 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.
----------------
zeyi2 wrote:

Sorry, fixed now!

https://github.com/llvm/llvm-project/pull/189788


More information about the cfe-commits mailing list