Add a new macro to be used for the end of enum lists.

llvm-svn: 14862
This commit is contained in:
Chris Lattner 2004-07-16 00:01:05 +00:00
parent d79334df33
commit b50070175d
1 changed files with 1 additions and 0 deletions

View File

@ -292,6 +292,7 @@ LocationClass<Ty> location(Ty &L) { return LocationClass<Ty>(L); }
//
#define clEnumVal(ENUMVAL, DESC) #ENUMVAL, (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
// as the values that go into the mapping that the option handler uses. Note