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

Philipp Jung via cfe-commits cfe-commits at lists.llvm.org
Mon May 19 02:21:16 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``.
----------------
JungPhilipp wrote:

Missed that. Thank you.

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


More information about the cfe-commits mailing list