From: Tim Northover Date: Mon, 24 Jul 2017 17:39:44 +0000 (+0000) Subject: Debug: handle dumping the D language. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ea5f5cba913fefe1d27fa994dad122fbbe55d025;p=llvm 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 --- 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)