[llvm] r229331 - llvm-pdbdump: Fix warning caused by missing sentinel value.
Zachary Turner
zturner at google.com
Sun Feb 15 12:37:44 PST 2015
Author: zturner
Date: Sun Feb 15 14:37:44 2015
New Revision: 229331
URL: http://llvm.org/viewvc/llvm-project?rev=229331&view=rev
Log:
llvm-pdbdump: Fix warning caused by missing sentinel value.
Modified:
llvm/trunk/tools/llvm-pdbdump/llvm-pdbdump.cpp
Modified: llvm/trunk/tools/llvm-pdbdump/llvm-pdbdump.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/llvm-pdbdump/llvm-pdbdump.cpp?rev=229331&r1=229330&r2=229331&view=diff
==============================================================================
--- llvm/trunk/tools/llvm-pdbdump/llvm-pdbdump.cpp (original)
+++ llvm/trunk/tools/llvm-pdbdump/llvm-pdbdump.cpp Sun Feb 15 14:37:44 2015
@@ -81,9 +81,9 @@ static cl::opt<PDB_DumpType> DumpMode(
clEnumValN(PDB_DumpType::ByObjFile, "compiland",
"Display symbols grouped under their containing object "
"file."),
- clEnumValN(
- PDB_DumpType::Both, "both",
- "Display symbols grouped by type, and then by object file.")));
+ clEnumValN(PDB_DumpType::Both, "both",
+ "Display symbols grouped by type, and then by object file."),
+ clEnumValEnd));
}
#define SET_DUMP_FLAG_FROM_OPT(Var, Flag, Opt) \
More information about the llvm-commits
mailing list