summaryrefslogtreecommitdiffstats
path: root/llvm/include
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/include')
-rw-r--r--llvm/include/llvm-c/ErrorHandling.h2
-rw-r--r--llvm/include/llvm/Analysis/IteratedDominanceFrontier.h2
-rw-r--r--llvm/include/llvm/IR/TypeFinder.h2
3 files changed, 2 insertions, 4 deletions
diff --git a/llvm/include/llvm-c/ErrorHandling.h b/llvm/include/llvm-c/ErrorHandling.h
index 5a80bc5e654..2059b3aeb15 100644
--- a/llvm/include/llvm-c/ErrorHandling.h
+++ b/llvm/include/llvm-c/ErrorHandling.h
@@ -14,8 +14,6 @@
#ifndef LLVM_C_ERROR_HANDLING_H
#define LLVM_C_ERROR_HANDLING_H
-#include "llvm-c/Types.h"
-
#ifdef __cplusplus
extern "C" {
#endif
diff --git a/llvm/include/llvm/Analysis/IteratedDominanceFrontier.h b/llvm/include/llvm/Analysis/IteratedDominanceFrontier.h
index a1ded2554d4..67527569470 100644
--- a/llvm/include/llvm/Analysis/IteratedDominanceFrontier.h
+++ b/llvm/include/llvm/Analysis/IteratedDominanceFrontier.h
@@ -28,10 +28,10 @@
#include "llvm/ADT/DenseMap.h"
#include "llvm/ADT/SmallPtrSet.h"
#include "llvm/ADT/SmallVector.h"
+#include "llvm/IR/BasicBlock.h"
namespace llvm {
-class BasicBlock;
template <class T> class DomTreeNodeBase;
typedef DomTreeNodeBase<BasicBlock> DomTreeNode;
template <class T> class DominatorTreeBase;
diff --git a/llvm/include/llvm/IR/TypeFinder.h b/llvm/include/llvm/IR/TypeFinder.h
index 5f3854377c1..a46edefea2a 100644
--- a/llvm/include/llvm/IR/TypeFinder.h
+++ b/llvm/include/llvm/IR/TypeFinder.h
@@ -15,6 +15,7 @@
#define LLVM_IR_TYPEFINDER_H
#include "llvm/ADT/DenseSet.h"
+#include "llvm/IR/Type.h"
#include <vector>
namespace llvm {
@@ -22,7 +23,6 @@ namespace llvm {
class MDNode;
class Module;
class StructType;
-class Type;
class Value;
/// TypeFinder - Walk over a module, identifying all of the types that are
OpenPOWER on IntegriCloud