X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=include%2Fllvm%2FSupport%2FProcess.h;h=088897c903d09d587b9d4689ac142047c1c8c545;hb=118f194966d20460c2b1653e06c601e4b66c9b3f;hp=91b92788f2ce6140c1fca616f8f0ffb6565e4bd3;hpb=9c69e6ae698f44703725eec8ff27630b6b81f0e3;p=oota-llvm.git diff --git a/include/llvm/Support/Process.h b/include/llvm/Support/Process.h index 91b92788f2c..088897c903d 100644 --- a/include/llvm/Support/Process.h +++ b/include/llvm/Support/Process.h @@ -97,6 +97,10 @@ namespace sys { /// the user rather than being put on a pipe or stored in a file. static bool FileDescriptorIsDisplayed(int fd); + /// This function determines if the given file descriptor is displayd and + /// supports colors. + static bool FileDescriptorHasColors(int fd); + /// This function determines the number of columns in the window /// if standard output is connected to a "tty" or "console" /// window. If standard output is not connected to a tty or