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 | b50070175d8d3c494eba9a036796079f84b816fc (patch) | |
tree | 31cacc6fa7e493b44cfcdf21beca73dfb48a4706 /llvm/include/Support/CommandLine.h | |
parent | d79334df331f68f1081478cb5aa261616f3025b6 (diff) | |
download | bcm5719-llvm-b50070175d8d3c494eba9a036796079f84b816fc.tar.gz bcm5719-llvm-b50070175d8d3c494eba9a036796079f84b816fc.zip |
Add a new macro to be used for the end of enum lists.
llvm-svn: 14862
Diffstat (limited to 'llvm/include/Support/CommandLine.h')
-rw-r--r-- | llvm/include/Support/CommandLine.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/include/Support/CommandLine.h b/llvm/include/Support/CommandLine.h index b7bd62a3807..7455f623ecd 100644 --- a/llvm/include/Support/CommandLine.h +++ b/llvm/include/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 |