summaryrefslogtreecommitdiff
path: root/src/jit/jit.h
diff options
context:
space:
mode:
authorSergey Andreenko <seandree@microsoft.com>2017-06-09 00:07:46 -0700
committerGitHub <noreply@github.com>2017-06-09 00:07:46 -0700
commit47afd9434be8c0b5997a0a5618569abc30596546 (patch)
tree6c3ac586088582857ffb71e57cd5805cd036fab5 /src/jit/jit.h
parent8763ef5f815e314405e41265186719de8759756e (diff)
downloadcoreclr-47afd9434be8c0b5997a0a5618569abc30596546.tar.gz
coreclr-47afd9434be8c0b5997a0a5618569abc30596546.tar.bz2
coreclr-47afd9434be8c0b5997a0a5618569abc30596546.zip
delete DECLARE_TYPED_ENUM (#12177)
* delete DECLARE_TYPED_ENUM delete the workaroung for g++ c++11, that was fixes in gcc 4.4.1 many years ago. The workaround makes code dirty and sometimes we have typos like: }; END_DECLARE_TYPED_ENUM(insFlags,unsigned) or END_DECLARE_TYPED_ENUM(ChunkExtraAttribs, BYTE); with double ;; * jit-format
Diffstat (limited to 'src/jit/jit.h')
-rw-r--r--src/jit/jit.h15
1 files changed, 0 insertions, 15 deletions
diff --git a/src/jit/jit.h b/src/jit/jit.h
index 5120449411..2810b96e2b 100644
--- a/src/jit/jit.h
+++ b/src/jit/jit.h
@@ -225,21 +225,6 @@
#endif
#endif
-// Macros for defining strongly-typed enums. Use as follows:
-//
-// DECLARE_TYPED_ENUM(FooEnum,BYTE)
-// {
-// fooTag1, fooTag2
-// }
-// END_DECLARE_TYPED_ENUM(FooEnum, BYTE)
-//
-// VC++ understands the syntax to declare these directly, e.g., "enum FooEnum : BYTE",
-// but GCC does not, so we use typedefs.
-
-#define DECLARE_TYPED_ENUM(tag, baseType) enum tag : baseType
-
-#define END_DECLARE_TYPED_ENUM(tag, baseType) ;
-
#include "corhdr.h"
#include "corjit.h"
#include "jitee.h"