From b97dd2dd4846e4d4f73b5143848a989be3b78d40 Mon Sep 17 00:00:00 2001 From: Daniel Sanders Date: Tue, 1 Aug 2017 14:55:34 +0000 Subject: [PATCH] [globalisel][tablegen] Removed unnecessary typedef pointed out in post-commit review for r308599. NFC git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@309687 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/CodeGen/GlobalISel/InstructionSelectorImpl.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/llvm/CodeGen/GlobalISel/InstructionSelectorImpl.h b/include/llvm/CodeGen/GlobalISel/InstructionSelectorImpl.h index 1aef54478c7..808ac4f3ab9 100644 --- a/include/llvm/CodeGen/GlobalISel/InstructionSelectorImpl.h +++ b/include/llvm/CodeGen/GlobalISel/InstructionSelectorImpl.h @@ -29,7 +29,7 @@ bool InstructionSelector::executeMatchTable( uint64_t CurrentIdx = 0; SmallVector OnFailResumeAt; - typedef enum { RejectAndGiveUp, RejectAndResume } RejectAction; + enum RejectAction { RejectAndGiveUp, RejectAndResume }; auto handleReject = [&]() -> RejectAction { DEBUG(dbgs() << CurrentIdx << ": Rejected\n"); if (OnFailResumeAt.empty()) -- 2.11.0