aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/clang/AST/ASTContext.h1
-rw-r--r--include/clang/AST/ExternalASTSource.h5
-rw-r--r--include/clang/AST/NestedNameSpecifier.h4
-rw-r--r--include/clang/AST/PrettyPrinter.h4
-rw-r--r--include/clang/AST/TemplateBase.h1
-rw-r--r--include/clang/Analysis/CFG.h4
-rw-r--r--include/clang/Basic/SourceLocation.h1
-rw-r--r--include/clang/Driver/ArgList.h4
-rw-r--r--include/clang/Driver/Compilation.h5
-rw-r--r--include/clang/Driver/Driver.h1
-rw-r--r--include/clang/Frontend/CompilerInstance.h1
-rw-r--r--include/clang/Frontend/CompilerInvocation.h4
-rw-r--r--include/clang/Frontend/FrontendAction.h4
-rw-r--r--include/clang/Index/ASTLocation.h4
-rw-r--r--include/clang/Rewrite/FixItRewriter.h2
-rw-r--r--include/clang/Rewrite/Rewriter.h2
-rw-r--r--include/clang/Sema/CodeCompleteConsumer.h5
-rw-r--r--include/clang/Sema/Initialization.h4
18 files changed, 0 insertions, 56 deletions
diff --git a/include/clang/AST/ASTContext.h b/include/clang/AST/ASTContext.h
index c2b3d9fe6e..2da3055f57 100644
--- a/include/clang/AST/ASTContext.h
+++ b/include/clang/AST/ASTContext.h
@@ -37,7 +37,6 @@
namespace llvm {
struct fltSemantics;
- class raw_ostream;
}
namespace clang {
diff --git a/include/clang/AST/ExternalASTSource.h b/include/clang/AST/ExternalASTSource.h
index 71b8b58747..28103fcee6 100644
--- a/include/clang/AST/ExternalASTSource.h
+++ b/include/clang/AST/ExternalASTSource.h
@@ -15,11 +15,6 @@
#define LLVM_CLANG_AST_EXTERNAL_AST_SOURCE_H
#include "clang/AST/DeclBase.h"
-#include <cassert>
-
-namespace llvm {
-template <class T> class SmallVectorImpl;
-}
namespace clang {
diff --git a/include/clang/AST/NestedNameSpecifier.h b/include/clang/AST/NestedNameSpecifier.h
index ae65d00dd7..d1d6e72ca7 100644
--- a/include/clang/AST/NestedNameSpecifier.h
+++ b/include/clang/AST/NestedNameSpecifier.h
@@ -18,10 +18,6 @@
#include "llvm/ADT/FoldingSet.h"
#include "llvm/ADT/PointerIntPair.h"
-namespace llvm {
- class raw_ostream;
-}
-
namespace clang {
class ASTContext;
diff --git a/include/clang/AST/PrettyPrinter.h b/include/clang/AST/PrettyPrinter.h
index a5ffd3764e..a34c0d9556 100644
--- a/include/clang/AST/PrettyPrinter.h
+++ b/include/clang/AST/PrettyPrinter.h
@@ -16,10 +16,6 @@
#include "clang/Basic/LangOptions.h"
-namespace llvm {
- class raw_ostream;
-}
-
namespace clang {
class Stmt;
diff --git a/include/clang/AST/TemplateBase.h b/include/clang/AST/TemplateBase.h
index a9b6cad048..26021e4d7e 100644
--- a/include/clang/AST/TemplateBase.h
+++ b/include/clang/AST/TemplateBase.h
@@ -23,7 +23,6 @@
namespace llvm {
class FoldingSetNodeID;
- class raw_ostream;
}
namespace clang {
diff --git a/include/clang/Analysis/CFG.h b/include/clang/Analysis/CFG.h
index ec3fa779a6..f7a0f95847 100644
--- a/include/clang/Analysis/CFG.h
+++ b/include/clang/Analysis/CFG.h
@@ -28,10 +28,6 @@
#include <cassert>
#include <iterator>
-namespace llvm {
- class raw_ostream;
-}
-
namespace clang {
class CXXDestructorDecl;
class Decl;
diff --git a/include/clang/Basic/SourceLocation.h b/include/clang/Basic/SourceLocation.h
index 3a4780c20d..01e2b2c299 100644
--- a/include/clang/Basic/SourceLocation.h
+++ b/include/clang/Basic/SourceLocation.h
@@ -22,7 +22,6 @@
namespace llvm {
class MemoryBuffer;
- class raw_ostream;
template <typename T> struct DenseMapInfo;
template <typename T> struct isPodLike;
}
diff --git a/include/clang/Driver/ArgList.h b/include/clang/Driver/ArgList.h
index 8a37915904..617561b0f6 100644
--- a/include/clang/Driver/ArgList.h
+++ b/include/clang/Driver/ArgList.h
@@ -20,10 +20,6 @@
#include <string>
#include <vector>
-namespace llvm {
- class Twine;
-}
-
namespace clang {
class Diagnostic;
diff --git a/include/clang/Driver/Compilation.h b/include/clang/Driver/Compilation.h
index 64ca32f78e..4f69d0a420 100644
--- a/include/clang/Driver/Compilation.h
+++ b/include/clang/Driver/Compilation.h
@@ -12,13 +12,8 @@
#include "clang/Driver/Job.h"
#include "clang/Driver/Util.h"
-
#include "llvm/ADT/DenseMap.h"
-namespace llvm {
- class raw_ostream;
-}
-
namespace clang {
namespace driver {
class DerivedArgList;
diff --git a/include/clang/Driver/Driver.h b/include/clang/Driver/Driver.h
index 4c6467ac91..1af572a5bd 100644
--- a/include/clang/Driver/Driver.h
+++ b/include/clang/Driver/Driver.h
@@ -24,7 +24,6 @@
#include <string>
namespace llvm {
- class raw_ostream;
template<typename T> class ArrayRef;
}
namespace clang {
diff --git a/include/clang/Frontend/CompilerInstance.h b/include/clang/Frontend/CompilerInstance.h
index 66ace650da..73eeff4c4d 100644
--- a/include/clang/Frontend/CompilerInstance.h
+++ b/include/clang/Frontend/CompilerInstance.h
@@ -19,7 +19,6 @@
#include <string>
namespace llvm {
-class raw_ostream;
class raw_fd_ostream;
class Timer;
}
diff --git a/include/clang/Frontend/CompilerInvocation.h b/include/clang/Frontend/CompilerInvocation.h
index e18f3fe632..23ddc84304 100644
--- a/include/clang/Frontend/CompilerInvocation.h
+++ b/include/clang/Frontend/CompilerInvocation.h
@@ -28,10 +28,6 @@
#include <string>
#include <vector>
-namespace llvm {
- template<typename T> class SmallVectorImpl;
-}
-
namespace clang {
class Diagnostic;
diff --git a/include/clang/Frontend/FrontendAction.h b/include/clang/Frontend/FrontendAction.h
index cd6dfa2d35..4762e093cf 100644
--- a/include/clang/Frontend/FrontendAction.h
+++ b/include/clang/Frontend/FrontendAction.h
@@ -16,10 +16,6 @@
#include <string>
#include <vector>
-namespace llvm {
- class raw_ostream;
-}
-
namespace clang {
class ASTConsumer;
class ASTMergeAction;
diff --git a/include/clang/Index/ASTLocation.h b/include/clang/Index/ASTLocation.h
index d4babcc8fd..7b66e7ea4f 100644
--- a/include/clang/Index/ASTLocation.h
+++ b/include/clang/Index/ASTLocation.h
@@ -17,10 +17,6 @@
#include "clang/AST/TypeLoc.h"
#include "llvm/ADT/PointerIntPair.h"
-namespace llvm {
- class raw_ostream;
-}
-
namespace clang {
class Decl;
class Stmt;
diff --git a/include/clang/Rewrite/FixItRewriter.h b/include/clang/Rewrite/FixItRewriter.h
index f1028380c3..f96d307f72 100644
--- a/include/clang/Rewrite/FixItRewriter.h
+++ b/include/clang/Rewrite/FixItRewriter.h
@@ -19,8 +19,6 @@
#include "clang/Basic/SourceLocation.h"
#include "clang/Rewrite/Rewriter.h"
-namespace llvm { class raw_ostream; }
-
namespace clang {
class SourceManager;
diff --git a/include/clang/Rewrite/Rewriter.h b/include/clang/Rewrite/Rewriter.h
index beddda88e0..ad46379020 100644
--- a/include/clang/Rewrite/Rewriter.h
+++ b/include/clang/Rewrite/Rewriter.h
@@ -23,8 +23,6 @@
#include <map>
#include <string>
-namespace llvm { class raw_ostream; }
-
namespace clang {
class LangOptions;
class Rewriter;
diff --git a/include/clang/Sema/CodeCompleteConsumer.h b/include/clang/Sema/CodeCompleteConsumer.h
index 93722b933a..e14c593eaa 100644
--- a/include/clang/Sema/CodeCompleteConsumer.h
+++ b/include/clang/Sema/CodeCompleteConsumer.h
@@ -21,11 +21,6 @@
#include "clang-c/Index.h"
#include <string>
-namespace llvm {
- class raw_ostream;
- class Twine;
-}
-
namespace clang {
class Decl;
diff --git a/include/clang/Sema/Initialization.h b/include/clang/Sema/Initialization.h
index 880ed2f9d2..3b100ce257 100644
--- a/include/clang/Sema/Initialization.h
+++ b/include/clang/Sema/Initialization.h
@@ -22,10 +22,6 @@
#include "llvm/ADT/SmallVector.h"
#include <cassert>
-namespace llvm {
- class raw_ostream;
-}
-
namespace clang {
class CXXBaseSpecifier;