aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/llvm/Support/InstVisitor.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/llvm/Support/InstVisitor.h b/include/llvm/Support/InstVisitor.h
index 8b3a28d5f9..4af9256dcf 100644
--- a/include/llvm/Support/InstVisitor.h
+++ b/include/llvm/Support/InstVisitor.h
@@ -51,11 +51,10 @@
#define LLVM_SUPPORT_INSTVISITOR_H
#include "llvm/Function.h"
+#include "llvm/Module.h"
namespace llvm {
-class Module;
-
// We operate on opaque instruction classes, so forward declare all instruction
// types now...
//