diff options
author | Chris Lattner <sabre@nondot.org> | 2004-07-16 00:01:05 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2004-07-16 00:01:05 +0000 |
commit | dcb115bc826a5eaa2b7b3c3ce7245f8ee86287e6 (patch) | |
tree | 55bb990510bccced3e0956f03e5b25bcefbb3165 /include/llvm/Support/CommandLine.h | |
parent | 80b2d6c8c4d6ee060bce6d3e8e899c62a31c4c8c (diff) |
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
Diffstat (limited to 'include/llvm/Support/CommandLine.h')
-rw-r--r-- | include/llvm/Support/CommandLine.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/llvm/Support/CommandLine.h b/include/llvm/Support/CommandLine.h index b7bd62a380..7455f623ec 100644 --- a/include/llvm/Support/CommandLine.h +++ b/include/llvm/Support/CommandLine.h @@ -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 |