OSDN Git Service
(root)
/
android-x86
/
external-llvm-project.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e73bb4f
)
WithColor.h - reduce unnecessary includes to forward declarations. NFC.
author
Simon Pilgrim
<llvm-dev@redking.me.uk>
Thu, 28 May 2020 12:58:35 +0000
(13:58 +0100)
committer
Simon Pilgrim
<llvm-dev@redking.me.uk>
Thu, 28 May 2020 13:38:11 +0000
(14:38 +0100)
llvm/include/llvm/Support/WithColor.h
patch
|
blob
|
history
diff --git
a/llvm/include/llvm/Support/WithColor.h
b/llvm/include/llvm/Support/WithColor.h
index
b5758b1
..
411a920
100644
(file)
--- 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 {