[clang-tools-extra] Add check 'modernize-use-enum-class' (PR #138282)
via cfe-commits
cfe-commits at lists.llvm.org
Sat May 3 07:33:34 PDT 2025
================
@@ -0,0 +1,26 @@
+.. title:: clang-tidy - modernize-use-enum-class
+
+modernize-use-enum-class
+=============================
+
+Scoped enums (enum class) should be preferred over unscoped enums:
+https://isocpp.github.io/CppCoreGuidelines/CppCoreGuidelines#Renum-class
----------------
EugeneZelenko wrote:
References should be at the end of documentation.
https://github.com/llvm/llvm-project/pull/138282
More information about the cfe-commits
mailing list