[llvm-commits] [llvm] r163714 - /llvm/trunk/include/llvm/Support/raw_ostream.h

Alexander Potapenko glider at google.com
Wed Sep 12 08:01:34 PDT 2012


Author: glider
Date: Wed Sep 12 10:01:33 2012
New Revision: 163714

URL: http://llvm.org/viewvc/llvm-project?rev=163714&view=rev
Log:
Suppress the warnings about unused parameters in changeColor()

Modified:
    llvm/trunk/include/llvm/Support/raw_ostream.h

Modified: llvm/trunk/include/llvm/Support/raw_ostream.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Support/raw_ostream.h?rev=163714&r1=163713&r2=163714&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Support/raw_ostream.h (original)
+++ llvm/trunk/include/llvm/Support/raw_ostream.h Wed Sep 12 10:01:33 2012
@@ -218,6 +218,9 @@
   virtual raw_ostream &changeColor(enum Colors Color,
                                    bool Bold = false,
                                    bool BG = false) {
+    (void)Color;
+    (void)Bold;
+    (void)BG;
     return *this;
   }
 





More information about the llvm-commits mailing list