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 | 4ca69bdac60db56a79d2eeb3cc62ced23f3f1d64 (patch) | |
tree | d7aedfa81dc5671883ca7d8bda60438c60ada61a | |
parent | 170baca6466e6f12b6ebc6bfb2ddb5fff69fc9a7 (diff) | |
download | llvm-4ca69bdac60db56a79d2eeb3cc62ced23f3f1d64.zip llvm-4ca69bdac60db56a79d2eeb3cc62ced23f3f1d64.tar.gz llvm-4ca69bdac60db56a79d2eeb3cc62ced23f3f1d64.tar.bz2 |
Fix -Wreturn-type falling off the end of a function in new DIA code
llvm-svn: 318444
-rw-r--r-- | llvm/lib/DebugInfo/PDB/DIA/DIATable.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
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; } |