[PATCH] D14269: llvm-pdbdump: Simplify. NFC.

Zachary Turner via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 2 17:02:05 PST 2015


zturner accepted this revision.
This revision is now accepted and ready to land.

================
Comment at: tools/llvm-pdbdump/LinePrinter.cpp:120
@@ -131,6 +119,3 @@
   case PDB_ColorItem::LiteralValue:
-    Color = raw_ostream::GREEN;
-    Bold = true;
-  default:
-    return;
+    OS.changeColor(raw_ostream::GREEN, true);
   }
----------------
Can you add a return here?  (It should have been here before, but it looks I accidentally left it out)


http://reviews.llvm.org/D14269





More information about the llvm-commits mailing list