diff --git a/llvm/include/llvm/Support/WithColor.h b/llvm/include/llvm/Support/WithColor.h index b5758b19be6da..411a92071fc72 100644 --- a/llvm/include/llvm/Support/WithColor.h +++ b/llvm/include/llvm/Support/WithColor.h @@ -9,15 +9,15 @@ #ifndef LLVM_SUPPORT_WITHCOLOR_H #define LLVM_SUPPORT_WITHCOLOR_H -#include "llvm/ADT/StringRef.h" #include "llvm/Support/CommandLine.h" -#include "llvm/Support/Error.h" namespace llvm { -extern cl::OptionCategory ColorCategory; - +class Error; class raw_ostream; +class StringRef; + +extern cl::OptionCategory ColorCategory; // Symbolic names for various syntax elements. enum class HighlightColor {