[llvm] r308901 - Debug: handle dumping the D language.
Tim Northover via llvm-commits
llvm-commits at lists.llvm.org
Mon Jul 24 10:39:44 PDT 2017
Author: tnorthover
Date: Mon Jul 24 10:39:44 2017
New Revision: 308901
URL: http://llvm.org/viewvc/llvm-project?rev=308901&view=rev
Log:
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).
Modified:
llvm/trunk/lib/DebugInfo/PDB/PDBExtras.cpp
Modified: llvm/trunk/lib/DebugInfo/PDB/PDBExtras.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/DebugInfo/PDB/PDBExtras.cpp?rev=308901&r1=308900&r2=308901&view=diff
==============================================================================
--- llvm/trunk/lib/DebugInfo/PDB/PDBExtras.cpp (original)
+++ llvm/trunk/lib/DebugInfo/PDB/PDBExtras.cpp Mon Jul 24 10:39:44 2017
@@ -193,6 +193,7 @@ raw_ostream &llvm::pdb::operator<<(raw_o
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)
More information about the llvm-commits
mailing list