From 7371e63a7bb7b62a9440537a5a2a6a581e232e21 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Tue, 3 Apr 2018 00:49:50 -0400 Subject: [PATCH] a64_get_set_elimination_pass: Make TrackingType enum an enum class Prevents placing single letter enum members into the surrounding scope. --- src/ir_opt/a64_get_set_elimination_pass.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ir_opt/a64_get_set_elimination_pass.cpp b/src/ir_opt/a64_get_set_elimination_pass.cpp index 45294bcf..8be4db1d 100644 --- a/src/ir_opt/a64_get_set_elimination_pass.cpp +++ b/src/ir_opt/a64_get_set_elimination_pass.cpp @@ -19,7 +19,7 @@ namespace Dynarmic::Optimization { void A64GetSetElimination(IR::Block& block) { using Iterator = IR::Block::iterator; - enum TrackingType { + enum class TrackingType { W, X, S, D, Q, SP, NZCV,