llvm-pdbdump: Fix warning caused by missing sentinel value.
authorZachary Turner <zturner@google.com>
Sun, 15 Feb 2015 20:37:44 +0000 (20:37 +0000)
committerZachary Turner <zturner@google.com>
Sun, 15 Feb 2015 20:37:44 +0000 (20:37 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@229331 91177308-0d34-0410-b5e6-96231b3b80d8

tools/llvm-pdbdump/llvm-pdbdump.cpp

index 1254a53a8d1aa42823e6fa66ec1ec35616ee530c..f350c430a8bbba4fb3e58e9520f2d5823df76692 100644 (file)
@@ -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) \