[clang-tools-extra] Add check 'cppcoreguidelines-use-enum-class' (PR #138282)

Baranov Victor via cfe-commits cfe-commits at lists.llvm.org
Sat May 17 07:17:31 PDT 2025


================
@@ -130,6 +130,11 @@ New checks
   Finds unintended character output from ``unsigned char`` and ``signed char``
   to an ``ostream``.
 
+- New :doc:`cppcoreguidelines-use-enum-class
+  <clang-tidy/checks/cppcoreguidelines/use-enum-class>` check.
+
+  Finds plain non-class ``enum`` definitions that could use ``enum class``.
----------------
vbvictor wrote:

Please make this sentence the same as `cppcoreguidelines-use-enum-class.rst `

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


More information about the cfe-commits mailing list