[llvm] [DRAFT][NFC] Make RegState enum class (PR #172441)
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Tue Dec 16 04:56:05 PST 2025
================
@@ -39,10 +40,11 @@ namespace llvm {
class MCInstrDesc;
class MDNode;
-namespace RegState {
-
// Keep this in sync with the table in MIRLangRef.rst.
-enum {
+enum class RegState : unsigned {
+ /// No Flags, used in initializers
+ NoFlags = 0x0,
----------------
arsenm wrote:
Maybe "None"?
https://github.com/llvm/llvm-project/pull/172441
More information about the llvm-commits
mailing list