[clang-tools-extra] Add check 'modernize-use-enum-class' (PR #138282)
Philipp Jung via cfe-commits
cfe-commits at lists.llvm.org
Fri May 9 08:49:42 PDT 2025
================
@@ -115,6 +115,11 @@ New checks
Gives warnings for tagged unions, where the number of tags is
different from the number of data members inside the union.
+- New :doc:`modernize-use-enum-class
+ <clang-tidy/checks/modernize/use-enum-class>` check.
+
+ Finds plain non-class enum definitions that could use ``enum class``.
----------------
JungPhilipp wrote:
Done
https://github.com/llvm/llvm-project/pull/138282
More information about the cfe-commits
mailing list