From: Chris Lattner Date: Fri, 16 Jul 2004 00:02:21 +0000 (+0000) Subject: Passing integer 0 in for a pointer value doesn't work on IA64. Fix this X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=bd935336d4dd9d9a55feed9d9ef0bd6941060f37;p=oota-llvm.git Passing integer 0 in for a pointer value doesn't work on IA64. Fix this by using a new macro. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14863 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/utils/TableGen/TableGen.cpp b/utils/TableGen/TableGen.cpp index 2409d37196b..e0885d1f9bc 100644 --- a/utils/TableGen/TableGen.cpp +++ b/utils/TableGen/TableGen.cpp @@ -64,7 +64,7 @@ namespace { "Print enum values for a class"), clEnumValN(Parse, "parse", "Interpret machine code (testing only)"), - 0)); + clEnumValEnd)); cl::opt Class("class", cl::desc("Print Enum list for this class"),