From: Daniel Sanders Date: Tue, 1 Aug 2017 14:55:34 +0000 (+0000) Subject: [globalisel][tablegen] Removed unnecessary typedef pointed out in post-commit review... X-Git-Tag: android-x86-7.1-r4~12754 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=b97dd2dd4846e4d4f73b5143848a989be3b78d40;p=android-x86%2Fexternal-llvm.git [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 --- 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())