mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-28 04:33:05 +00:00
Add a new macro to be used for the end of enum lists.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14862 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
80b2d6c8c4
commit
dcb115bc82
@ -292,6 +292,7 @@ LocationClass<Ty> location(Ty &L) { return LocationClass<Ty>(L); }
|
|||||||
//
|
//
|
||||||
#define clEnumVal(ENUMVAL, DESC) #ENUMVAL, (int)ENUMVAL, DESC
|
#define clEnumVal(ENUMVAL, DESC) #ENUMVAL, (int)ENUMVAL, DESC
|
||||||
#define clEnumValN(ENUMVAL, FLAGNAME, DESC) FLAGNAME, (int)ENUMVAL, DESC
|
#define clEnumValN(ENUMVAL, FLAGNAME, DESC) FLAGNAME, (int)ENUMVAL, DESC
|
||||||
|
#define clEnumValEnd ((void*)0)
|
||||||
|
|
||||||
// values - For custom data types, allow specifying a group of values together
|
// values - For custom data types, allow specifying a group of values together
|
||||||
// as the values that go into the mapping that the option handler uses. Note
|
// as the values that go into the mapping that the option handler uses. Note
|
||||||
|
@ -292,6 +292,7 @@ LocationClass<Ty> location(Ty &L) { return LocationClass<Ty>(L); }
|
|||||||
//
|
//
|
||||||
#define clEnumVal(ENUMVAL, DESC) #ENUMVAL, (int)ENUMVAL, DESC
|
#define clEnumVal(ENUMVAL, DESC) #ENUMVAL, (int)ENUMVAL, DESC
|
||||||
#define clEnumValN(ENUMVAL, FLAGNAME, DESC) FLAGNAME, (int)ENUMVAL, DESC
|
#define clEnumValN(ENUMVAL, FLAGNAME, DESC) FLAGNAME, (int)ENUMVAL, DESC
|
||||||
|
#define clEnumValEnd ((void*)0)
|
||||||
|
|
||||||
// values - For custom data types, allow specifying a group of values together
|
// values - For custom data types, allow specifying a group of values together
|
||||||
// as the values that go into the mapping that the option handler uses. Note
|
// as the values that go into the mapping that the option handler uses. Note
|
||||||
|
Loading…
Reference in New Issue
Block a user