From 1a945757ac7debd9ad14497fa404e3900869cad5 Mon Sep 17 00:00:00 2001 From: Simon Pilgrim Date: Thu, 28 May 2020 13:58:35 +0100 Subject: [PATCH] WithColor.h - reduce unnecessary includes to forward declarations. NFC. --- llvm/include/llvm/Support/WithColor.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/llvm/include/llvm/Support/WithColor.h b/llvm/include/llvm/Support/WithColor.h index b5758b19be6d..411a92071fc7 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 {