diff options
-rw-r--r-- | lib/Target/SparcV9/InstrSelection/InstrSelection.cpp | 2 | ||||
-rw-r--r-- | lib/Target/SparcV9/LiveVar/FunctionLiveVarInfo.cpp | 2 | ||||
-rw-r--r-- | lib/Target/SparcV9/RegAlloc/PhyRegAlloc.cpp | 2 | ||||
-rw-r--r-- | lib/VMCore/PassManagerT.h | 2 | ||||
-rw-r--r-- | tools/bugpoint/ExecutionDriver.cpp | 2 | ||||
-rw-r--r-- | tools/llvm-nm/llvm-nm.cpp | 3 |
6 files changed, 7 insertions, 6 deletions
diff --git a/lib/Target/SparcV9/InstrSelection/InstrSelection.cpp b/lib/Target/SparcV9/InstrSelection/InstrSelection.cpp index c5dc7c7..0c12fe4 100644 --- a/lib/Target/SparcV9/InstrSelection/InstrSelection.cpp +++ b/lib/Target/SparcV9/InstrSelection/InstrSelection.cpp @@ -57,7 +57,7 @@ namespace { clEnumValN(Select_DebugInstTrees, "i", "print debugging info for instruction selection"), clEnumValN(Select_DebugBurgTrees, "b", "print burg trees"), - 0)); + clEnumValEnd)); //===--------------------------------------------------------------------===// diff --git a/lib/Target/SparcV9/LiveVar/FunctionLiveVarInfo.cpp b/lib/Target/SparcV9/LiveVar/FunctionLiveVarInfo.cpp index 719a1a8..4a8ada9 100644 --- a/lib/Target/SparcV9/LiveVar/FunctionLiveVarInfo.cpp +++ b/lib/Target/SparcV9/LiveVar/FunctionLiveVarInfo.cpp @@ -40,7 +40,7 @@ clEnumValN(LV_DEBUG_Normal , "y", "enable debug output"), clEnumValN(LV_DEBUG_Instr, "i", "print live-var sets before/after " "every machine instrn"), clEnumValN(LV_DEBUG_Verbose, "v", "print def, use sets for every instrn also"), - 0)); + clEnumValEnd)); diff --git a/lib/Target/SparcV9/RegAlloc/PhyRegAlloc.cpp b/lib/Target/SparcV9/RegAlloc/PhyRegAlloc.cpp index 95756db..a153871 100644 --- a/lib/Target/SparcV9/RegAlloc/PhyRegAlloc.cpp +++ b/lib/Target/SparcV9/RegAlloc/PhyRegAlloc.cpp @@ -63,7 +63,7 @@ DRA_opt("dregalloc", cl::Hidden, cl::location(DEBUG_RA), clEnumValN(RA_DEBUG_Interference,"ig","debug output for interference graphs"), clEnumValN(RA_DEBUG_LiveRanges , "lr","debug output for live ranges"), clEnumValN(RA_DEBUG_Verbose, "v", "extra debug output"), - 0)); + clEnumValEnd)); /// The reoptimizer wants to be able to grovel through the register /// allocator's state after it has done its job. This is a hack. diff --git a/lib/VMCore/PassManagerT.h b/lib/VMCore/PassManagerT.h index 5d50e72..463888a 100644 --- a/lib/VMCore/PassManagerT.h +++ b/lib/VMCore/PassManagerT.h @@ -52,7 +52,7 @@ PassDebugging("debug-pass", cl::Hidden, clEnumVal(Structure , "print pass structure before run()"), clEnumVal(Executions, "print pass name before it is executed"), clEnumVal(Details , "print pass details when it is executed"), - 0)); + clEnumValEnd)); //===----------------------------------------------------------------------===// // PMDebug class - a set of debugging functions, that are not to be diff --git a/tools/bugpoint/ExecutionDriver.cpp b/tools/bugpoint/ExecutionDriver.cpp index a08d632..c2a4a1c 100644 --- a/tools/bugpoint/ExecutionDriver.cpp +++ b/tools/bugpoint/ExecutionDriver.cpp @@ -38,7 +38,7 @@ namespace { clEnumValN(RunJIT, "run-jit", "Execute with JIT"), clEnumValN(RunLLC, "run-llc", "Compile with LLC"), clEnumValN(RunCBE, "run-cbe", "Compile with CBE"), - 0), + clEnumValEnd), cl::init(AutoPick)); cl::opt<bool> diff --git a/tools/llvm-nm/llvm-nm.cpp b/tools/llvm-nm/llvm-nm.cpp index 78d23d8..fc595b3 100644 --- a/tools/llvm-nm/llvm-nm.cpp +++ b/tools/llvm-nm/llvm-nm.cpp @@ -35,7 +35,8 @@ namespace { cl::desc("Specify output format"), cl::values(clEnumVal(bsd, "BSD format"), clEnumVal(sysv, "System V format"), - clEnumVal(posix, "POSIX.2 format"), 0), cl::init(bsd)); + clEnumVal(posix, "POSIX.2 format"), + clEnumValEnd), cl::init(bsd)); cl::alias OutputFormat2("f", cl::desc("Alias for --format"), cl::aliasopt(OutputFormat)); |