[llvm-commits] CVS: llvm/include/Support/CommandLine.h

Chris Lattner lattner at cs.uiuc.edu
Thu Jul 15 17:01:15 PDT 2004



Changes in directory llvm/include/Support:

CommandLine.h updated: 1.33 -> 1.34

---
Log message:

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


---
Diffs of the changes:  (+1 -0)

Index: llvm/include/Support/CommandLine.h
diff -u llvm/include/Support/CommandLine.h:1.33 llvm/include/Support/CommandLine.h:1.34
--- llvm/include/Support/CommandLine.h:1.33	Sat Jul 10 22:18:30 2004
+++ llvm/include/Support/CommandLine.h	Thu Jul 15 19:01:05 2004
@@ -292,6 +292,7 @@
 //
 #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





More information about the llvm-commits mailing list