aboutsummaryrefslogtreecommitdiffstats
path: root/utils/TableGen/TableGen.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2004-07-16 00:02:21 +0000
committerChris Lattner <sabre@nondot.org>2004-07-16 00:02:21 +0000
commitbd935336d4dd9d9a55feed9d9ef0bd6941060f37 (patch)
treed4d12a2ef60c4b5a70e899fd60ed583d8af77239 /utils/TableGen/TableGen.cpp
parentdcb115bc826a5eaa2b7b3c3ce7245f8ee86287e6 (diff)
downloadexternal_llvm-bd935336d4dd9d9a55feed9d9ef0bd6941060f37.zip
external_llvm-bd935336d4dd9d9a55feed9d9ef0bd6941060f37.tar.gz
external_llvm-bd935336d4dd9d9a55feed9d9ef0bd6941060f37.tar.bz2
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
Diffstat (limited to 'utils/TableGen/TableGen.cpp')
-rw-r--r--utils/TableGen/TableGen.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/TableGen/TableGen.cpp b/utils/TableGen/TableGen.cpp
index 2409d37..e0885d1 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<std::string>
Class("class", cl::desc("Print Enum list for this class"),