summaryrefslogtreecommitdiffstats
path: root/llvm/include/Support/CommandLine.h
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2004-07-16 00:01:05 +0000
committerChris Lattner <sabre@nondot.org>2004-07-16 00:01:05 +0000
commitb50070175d8d3c494eba9a036796079f84b816fc (patch)
tree31cacc6fa7e493b44cfcdf21beca73dfb48a4706 /llvm/include/Support/CommandLine.h
parentd79334df331f68f1081478cb5aa261616f3025b6 (diff)
downloadbcm5719-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.h1
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
OpenPOWER on IntegriCloud