From: Chandler Carruth Date: Sat, 3 Apr 2010 04:45:24 +0000 (+0000) Subject: Fix a warning in GCC about a pointless typedef. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=1e86e3fb4b0ca05a0be4381931454378001a07ef;p=oota-llvm.git Fix a warning in GCC about a pointless typedef. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@100268 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/utils/TableGen/ARMDecoderEmitter.cpp b/utils/TableGen/ARMDecoderEmitter.cpp index 4bb46026d45..5fb8b6bfb23 100644 --- a/utils/TableGen/ARMDecoderEmitter.cpp +++ b/utils/TableGen/ARMDecoderEmitter.cpp @@ -100,7 +100,7 @@ static const char *stringForARMFormat(ARMFormat form) { #undef ENTRY } -typedef enum { +enum { IndexModeNone = 0, IndexModePre = 1, IndexModePost = 2,