Add reverseColor to raw_ostream.
[oota-llvm.git] / include / llvm / Support / Process.h
index 33799229ff3576156ddf4978f9576a0b5102e09b..d796b7906d378f54d0579e06b7457872d786cebc 100644 (file)
@@ -136,6 +136,10 @@ namespace sys {
       /// Same as OutputColor, but only enables the bold attribute.
       static const char *OutputBold(bool bg);
 
+      /// This function returns the escape sequence to reverse forground and
+      /// background colors.
+      static const char *OutputReverse();
+
       /// Resets the terminals colors, or returns an escape sequence to do so.
       static const char *ResetColor();
     /// @}