diff options
| -rw-r--r-- | llvm/include/llvm/CodeGen/GlobalISel/InstructionSelectorImpl.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/include/llvm/CodeGen/GlobalISel/InstructionSelectorImpl.h b/llvm/include/llvm/CodeGen/GlobalISel/InstructionSelectorImpl.h index 1aef54478c7..808ac4f3ab9 100644 --- a/llvm/include/llvm/CodeGen/GlobalISel/InstructionSelectorImpl.h +++ b/llvm/include/llvm/CodeGen/GlobalISel/InstructionSelectorImpl.h @@ -29,7 +29,7 @@ bool InstructionSelector::executeMatchTable( uint64_t CurrentIdx = 0; SmallVector<uint64_t, 8> OnFailResumeAt; - typedef enum { RejectAndGiveUp, RejectAndResume } RejectAction; + enum RejectAction { RejectAndGiveUp, RejectAndResume }; auto handleReject = [&]() -> RejectAction { DEBUG(dbgs() << CurrentIdx << ": Rejected\n"); if (OnFailResumeAt.empty()) |

