aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Northover <tnorthover@apple.com>2017-07-24 17:39:44 +0000
committerTim Northover <tnorthover@apple.com>2017-07-24 17:39:44 +0000
commitea5f5cba913fefe1d27fa994dad122fbbe55d025 (patch)
tree4cca95c6ab9b2fbf50c3a4a71118e3098dfc397e
parentc37f42c5b84a6c9292e659502cf3c87634c4d0bf (diff)
Debug: handle dumping the D language.
Mostly just to silence a warning about an unhandled case. There don't seem to be any tests for this operator (at least that I could find). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@308901 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--lib/DebugInfo/PDB/PDBExtras.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/DebugInfo/PDB/PDBExtras.cpp b/lib/DebugInfo/PDB/PDBExtras.cpp
index 504cfdf37a8..deda25213b9 100644
--- a/lib/DebugInfo/PDB/PDBExtras.cpp
+++ b/lib/DebugInfo/PDB/PDBExtras.cpp
@@ -193,6 +193,7 @@ raw_ostream &llvm::pdb::operator<<(raw_ostream &OS, const PDB_Lang &Lang) {
switch (Lang) {
CASE_OUTPUT_ENUM_CLASS_NAME(PDB_Lang, C, OS)
CASE_OUTPUT_ENUM_CLASS_STR(PDB_Lang, Cpp, "C++", OS)
+ CASE_OUTPUT_ENUM_CLASS_NAME(PDB_Lang, D, OS)
CASE_OUTPUT_ENUM_CLASS_NAME(PDB_Lang, Fortran, OS)
CASE_OUTPUT_ENUM_CLASS_NAME(PDB_Lang, Masm, OS)
CASE_OUTPUT_ENUM_CLASS_NAME(PDB_Lang, Pascal, OS)