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

Carlos Galvez via cfe-commits cfe-commits at lists.llvm.org
Wed Jun 4 11:03:46 PDT 2025


================
@@ -0,0 +1,18 @@
+// RUN: %check_clang_tidy -std=c++11-or-later %s cppcoreguidelines-use-enum-class %t -- \
----------------
carlosgalvezp wrote:

I believe it should be possible to merge these two test files, and provide a specific CHECK-MESSAGES-FULL (or similar) that only warns when the option is not enabled.

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


More information about the cfe-commits mailing list