From 4ca69bdac60db56a79d2eeb3cc62ced23f3f1d64 Mon Sep 17 00:00:00 2001 From: Reid Kleckner Date: Thu, 16 Nov 2017 19:32:53 +0000 Subject: [PATCH] Fix -Wreturn-type falling off the end of a function in new DIA code llvm-svn: 318444 --- llvm/lib/DebugInfo/PDB/DIA/DIATable.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/llvm/lib/DebugInfo/PDB/DIA/DIATable.cpp b/llvm/lib/DebugInfo/PDB/DIA/DIATable.cpp index 7f4d06c..24454df 100644 --- a/llvm/lib/DebugInfo/PDB/DIA/DIATable.cpp +++ b/llvm/lib/DebugInfo/PDB/DIA/DIATable.cpp @@ -58,4 +58,5 @@ PDB_TableType DIATable::getTableType() const { return PDB_TableType::InputAssemblyFiles; if (Name16 == DiaTable_Dbg) return PDB_TableType::Dbg; + return PDBTableType::TableInvalid; } -- 2.7.4