diff options
author | Reid Kleckner <rnk@google.com> | 2017-11-16 19:32:53 +0000 |
---|---|---|
committer | Reid Kleckner <rnk@google.com> | 2017-11-16 19:32:53 +0000 |
commit | cc22972e405909cc23f8b6c64ac4b243509e32a7 (patch) | |
tree | 399066020363b0bab80d2c09140325b41f913958 /lib/DebugInfo | |
parent | b6a6a34db6085f8061b0e5bfa3f0df53f80e7dae (diff) |
Fix -Wreturn-type falling off the end of a function in new DIA code
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@318444 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/DebugInfo')
-rw-r--r-- | lib/DebugInfo/PDB/DIA/DIATable.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/DebugInfo/PDB/DIA/DIATable.cpp b/lib/DebugInfo/PDB/DIA/DIATable.cpp index 7f4d06c9b8a..24454dfb1a2 100644 --- a/lib/DebugInfo/PDB/DIA/DIATable.cpp +++ b/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; } |